diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-21 13:30:41 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-03-27 00:17:58 +0400 |
commit | eddc0a3abff273842a94784d2d022bbc36dc9015 (patch) | |
tree | d1d4eea461dbd3b32e09079f00fccac6fde07e2c /block/bsg-lib.c | |
parent | 751c644b95bb48aaa8825f0c66abbcc184d92051 (diff) | |
download | linux-eddc0a3abff273842a94784d2d022bbc36dc9015.tar.xz |
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 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions