Re: [PATCH] selftests: add seccomp suite
From: Michael Ellerman
Date: Wed Jun 17 2015 - 02:13:04 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/