selftests/seccomp: Check ENOSYS under tracing
authorKees Cook <keescook@chromium.org>
Sun, 5 Jul 2020 06:12:32 +0000 (23:12 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 17 Jul 2020 19:37:34 +0000 (13:37 -0600)
commit4c6614dc86ad99208e7582108669831c4ab72982
tree031d02dfa9e47d80195ba6cfddc6c5eaba1d4a09
parent0bf18a0cdca51eb3398d182ed366f7ac9df04488
selftests/seccomp: Check ENOSYS under tracing

There should be no difference between -1 and other negative syscalls
while tracing.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Drewry <wad@chromium.org>
Cc: Will Deacon <will@kernel.org>
Cc: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/seccomp/seccomp_bpf.c