lkml.org 
[lkml]   [2020]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] selftests/seccomp: sh: Fix register names
On Tue, Nov 17, 2020 at 10:08:13PM +0100, John Paul Adrian Glaubitz wrote:
> Hi Kees!
>
> On 11/17/20 9:56 PM, Kees Cook wrote:
> > It looks like the seccomp selftests were never actually built for sh.
> > This fixes it, though I don't have an environment to do a runtime test
> > of it yet.
>
> We were testing libsecomp itself but I think we might have forgotten the
> self-test. Not sure how these are run.

If you're building natively, you can just build and run:

cd tools/testing/selftests/seccomp
make
./seccomp_bpf

--
Kees Cook

\
 
 \ /
  Last update: 2020-11-17 22:37    [W:0.700 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site