Re: [PATCH 0/2] selftests/seccomp: Report event mismatches more clearly

From: Eric W. Biederman
Date: Wed Nov 03 2021 - 14:38:06 EST


Kees Cook <keescook@xxxxxxxxxxxx> writes:

> Hi,
>
> This expands the seccomp selftests slightly to add additional debug
> reporting detail and a new "immediate fatal SIGSYS under tracing" test.
> I expect to be taking these via my seccomp tree.

Acked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

I am a little fuzzy on the details but I understand what and why
you are testing (I broken it). So this is my 10,000 foot ack.

Eric




> Thanks,
>
> -Kees
>
> Kees Cook (2):
> selftests/seccomp: Stop USER_NOTIF test if kcmp() fails
> selftests/seccomp: Report event mismatches more clearly
>
> tools/testing/selftests/seccomp/seccomp_bpf.c | 56 +++++++++++++++++--
> 1 file changed, 50 insertions(+), 6 deletions(-)