summaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorEric W. Biederman2013-03-21 10:30:41 +0100
committerEric W. Biederman2013-03-26 21:17:58 +0100
commiteddc0a3abff273842a94784d2d022bbc36dc9015 (patch)
treed1d4eea461dbd3b32e09079f00fccac6fde07e2c /kernel/user_namespace.c
parentpid: Handle the exit of a multi-threaded init. (diff)
downloadkernel-qcow2-linux-eddc0a3abff273842a94784d2d022bbc36dc9015.tar.gz
kernel-qcow2-linux-eddc0a3abff273842a94784d2d022bbc36dc9015.tar.xz
kernel-qcow2-linux-eddc0a3abff273842a94784d2d022bbc36dc9015.zip
yama: Better permission check for ptraceme
Change the permission check for yama_ptrace_ptracee to the standard ptrace permission check, testing if the traceer has CAP_SYS_PTRACE in the tracees user namespace. Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions