mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
d250a3e4e5
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>
8 lines
207 B
Makefile
8 lines
207 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/
|
|
LDFLAGS += -lpthread
|
|
LDLIBS += -lcap
|
|
|
|
TEST_GEN_PROGS := seccomp_bpf seccomp_benchmark
|
|
include ../lib.mk
|