diff options
author | Kees Cook <keescook@chromium.org> | 2015-06-16 20:54:14 +0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-06-18 02:12:32 +0300 |
commit | c99ee51a9d9716fe33f5022c763728a565e3bd08 (patch) | |
tree | 581722b37f7fd5e2a4a98b11374b2681b46639a6 /tools/testing/selftests/seccomp/Makefile | |
parent | 390db010c96091bd3bd0c5d6c0b667d22290ef41 (diff) | |
download | linux-c99ee51a9d9716fe33f5022c763728a565e3bd08.tar.xz |
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/Makefile | 10 |
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) |