mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
The higher ptrace restriction levels should be blocking even PTRACE_TRACEME requests. The comments in the LSM documentation are misleading about when the checks happen (the parent does not go through security_ptrace_access_check() on a PTRACE_TRACEME call). Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] # 3.5.x and later Signed-off-by: James Morris <[email protected]>