From c99ee51a9d9716fe33f5022c763728a565e3bd08 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Tue, 16 Jun 2015 10:54:14 -0700 Subject: selftests: add seccomp suite This imports the existing seccomp test suite into the kernel's selftests tree. It contains extensive testing of seccomp features and corner cases. There remain additional tests to move into the kernel tree, but they have not yet been ported to all the architectures seccomp supports: https://github.com/redpig/seccomp/tree/master/tests Signed-off-by: Kees Cook Signed-off-by: Shuah Khan --- tools/testing/selftests/seccomp/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/testing/selftests/seccomp/Makefile (limited to 'tools/testing/selftests/seccomp/Makefile') diff --git a/tools/testing/selftests/seccomp/Makefile b/tools/testing/selftests/seccomp/Makefile new file mode 100644 index 000000000000..8401e87e34e1 --- /dev/null +++ b/tools/testing/selftests/seccomp/Makefile @@ -0,0 +1,10 @@ +TEST_PROGS := seccomp_bpf +CFLAGS += -Wl,-no-as-needed -Wall +LDFLAGS += -lpthread + +all: $(TEST_PROGS) + +include ../lib.mk + +clean: + $(RM) $(TEST_PROGS) -- cgit v1.2.3-59-g8ed1b