lkml.org 
[lkml]   [2015]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] selftests: add seccomp suite
    From
    Date
    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




    \
     
     \ /
      Last update: 2015-06-17 08:21    [W:2.460 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site