summaryrefslogtreecommitdiff
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2022-03-19 02:08:38 +0100
committerKees Cook <keescook@chromium.org>2022-04-29 11:28:42 -0700
commitd250a3e4e5b41d9d805a8bfd2458b548d1681742 (patch)
treeaea2bb12ebaa5f47a49b0a0eee64efe1c4d9e6ca /kernel/seccomp.c
parent2bfed7d2ffa5d86c462d3e2067f2832eaf8c04c7 (diff)
selftests/seccomp: Test PTRACE_O_SUSPEND_SECCOMP without CAP_SYS_ADMIN
Add a test to check that PTRACE_O_SUSPEND_SECCOMP can't be set without CAP_SYS_ADMIN through PTRACE_SEIZE or PTRACE_SETOPTIONS. Signed-off-by: Jann Horn <jannh@google.com> Co-developed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions