Messages in this thread | | | Subject | Re: [PATCH] selftests: add seccomp suite | From | Michael Ellerman <> | Date | Wed, 17 Jun 2015 16:12:51 +1000 |
| |
On Tue, 2015-06-16 at 10:54 -0700, Kees Cook wrote: > 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
> 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
Can't you do:
CFLAGS += -Wall LDLIBS += -lpthread
?
cheers
| |