Re: [PATCH] selftests: add seccomp suite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux