aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2014-05-15 15:16:06 +0000
committerSerge Hallyn <[email protected]>2014-06-03 19:21:48 +0000
commit5b589d44fad18228f18749360d008d5c8ff3aaf8 (patch)
treecc90b51e698724cb18b113904a629625ba79185f /tools/perf/scripts/python
parentselinux: Report permissive mode in avc: denied messages. (diff)
downloadkernel-5b589d44fad18228f18749360d008d5c8ff3aaf8.tar.gz
kernel-5b589d44fad18228f18749360d008d5c8ff3aaf8.zip
selinux: reject setexeccon() on MNT_NOSUID applications with -EACCES
We presently prevent processes from using setexecon() to set the security label of exec()'d processes when NO_NEW_PRIVS is enabled by returning an error; however, we silently ignore setexeccon() when exec()'ing from a nosuid mounted filesystem. This patch makes things a bit more consistent by returning an error in the setexeccon()/nosuid case. Signed-off-by: Paul Moore <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Acked-by: Stephen Smalley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions