linux/security/smack
Jann Horn 6050b33fcc security: let security modules use PTRACE_MODE_* with bitmasks
[ Upstream commit 3dfb7d8cdb ]

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 <jann@thejh.net>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Morris <james.l.morris@oracle.com>
Cc: "Serge E. Hallyn" <serge.hallyn@ubuntu.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-13 20:44:38 -04:00
..
Kconfig Smack: Bring-up access mode 2014-08-28 13:11:56 -07:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h smack: fix possible use after frees in task_security() callers 2015-03-06 14:52:59 -08:00
smack_access.c Make Smack operate on smack_known struct where it still used char* 2014-08-29 10:10:55 -07:00
smack_lsm.c security: let security modules use PTRACE_MODE_* with bitmasks 2016-04-13 20:44:38 -04:00
smackfs.c Make Smack operate on smack_known struct where it still used char* 2014-08-29 10:10:55 -07:00