diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-21 02:30:41 -0700 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-26 13:17:58 -0700 |
commit | eddc0a3abff273842a94784d2d022bbc36dc9015 (patch) | |
tree | d1d4eea461dbd3b32e09079f00fccac6fde07e2c /fs/namespace.c | |
parent | 751c644b95bb48aaa8825f0c66abbcc184d92051 (diff) | |
download | op-kernel-dev-eddc0a3abff273842a94784d2d022bbc36dc9015.zip op-kernel-dev-eddc0a3abff273842a94784d2d022bbc36dc9015.tar.gz |
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 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions