[PATCH 1/2] security: let security modules use PTRACE_MODE_* with bitmasks

2015-12-07 Thread Jann Horn
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 ---

Re: [PATCH 1/2] security: let security modules use PTRACE_MODE_* with bitmasks

2015-12-07 Thread Kees Cook
On Mon, Dec 7, 2015 at 1:25 PM, Jann Horn wrote: > 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