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