summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/cmds.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-18 11:07:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-20 10:30:25 +0100
commitffd52858449d58111581d5ee82ff1c3ffba585a5 (patch)
treeb125a84336e3a14efaa081fe9f502c967dadf67a /cpukit/libmisc/shell/cmds.c
parentshell: Add and use rtems_shell_execute_cmd() (diff)
downloadrtems-ffd52858449d58111581d5ee82ff1c3ffba585a5.tar.bz2
shell: Inherit UID and GID if no login check
Use the UID and GID of the executing user for the real and effective UID and GID of the shell task in case no login check is present. This prevents privilege escalation via shell scripts.
Diffstat (limited to 'cpukit/libmisc/shell/cmds.c')
0 files changed, 0 insertions, 0 deletions