]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fbd5dee25ff56c16673d57da7caaa5fba05fb02
tree031d02dfa9e47d80195ba6cfddc6c5eaba1d4a09
parent6acf33ecbd239f1e8bedfb9c16f22898d6a39aa7
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