summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/seccomp/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2015-06-16 10:54:14 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-06-17 17:12:32 -0600
commitc99ee51a9d9716fe33f5022c763728a565e3bd08 (patch)
tree581722b37f7fd5e2a4a98b11374b2681b46639a6 /tools/testing/selftests/seccomp/Makefile
parent390db010c96091bd3bd0c5d6c0b667d22290ef41 (diff)
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 <keescook@chromium.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/seccomp/Makefile')
-rw-r--r--tools/testing/selftests/seccomp/Makefile10
1 files changed, 10 insertions, 0 deletions
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)