aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2019-04-19 18:55:12 +0000
committerPaul Moore <[email protected]>2019-04-29 13:51:21 +0000
commit35a196bef449b5824033865b963ed9a43fb8c730 (patch)
treebed797d4bac8508de8e185e3bd08247a9ed33891 /lib/test_stackinit.c
parentselinux: Check address length before reading address family (diff)
downloadkernel-35a196bef449b5824033865b963ed9a43fb8c730.tar.gz
kernel-35a196bef449b5824033865b963ed9a43fb8c730.zip
proc: prevent changes to overridden credentials
Prevent userspace from changing the the /proc/PID/attr values if the task's credentials are currently overriden. This not only makes sense conceptually, it also prevents some really bizarre error cases caused when trying to commit credentials to a task with overridden credentials. Cc: <[email protected]> Reported-by: "chengjian (D)" <[email protected]> Signed-off-by: Paul Moore <[email protected]> Acked-by: John Johansen <[email protected]> Acked-by: James Morris <[email protected]> Acked-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions