aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2016-01-20 23:00:01 +0000
committerLinus Torvalds <[email protected]>2016-01-21 01:09:18 +0000
commit3dfb7d8cdbc7ea0c2970450e60818bb3eefbad69 (patch)
tree91de34a608a3168d6b01509d8837cbe997b6ab01 /fs/proc/array.c
parentptrace: task_stopped_code(ptrace => true) can't see TASK_STOPPED task (diff)
downloadkernel-3dfb7d8cdbc7ea0c2970450e60818bb3eefbad69.tar.gz
kernel-3dfb7d8cdbc7ea0c2970450e60818bb3eefbad69.zip
security: let security modules use PTRACE_MODE_* with bitmasks
It looks like smack and yama weren't aware that the ptrace mode can have flags ORed into it - PTRACE_MODE_NOAUDIT until now, but only for /proc/$pid/stat, and with the PTRACE_MODE_*CREDS patch, all modes have flags ORed into them. Signed-off-by: Jann Horn <[email protected]> Acked-by: Kees Cook <[email protected]> Acked-by: Casey Schaufler <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Morris <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Al Viro <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Willy Tarreau <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions