OSDN Git Service

selftests/seccomp: Check ENOSYS under tracing
authorKees Cook <keescook@chromium.org>
Sun, 5 Jul 2020 05:57:33 +0000 (22:57 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 10 Jul 2020 23:01:52 +0000 (16:01 -0700)
commit11eb004ef7ead0c43586adea0340b51da095bdee
tree75b81058740a418c30a274c26bf0f485f1de83dd
parentadeeec8472397001901c06aa41d1b2fd1068e222
selftests/seccomp: Check ENOSYS under tracing

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

Cc: Keno Fischer <keno@juliacomputing.com>
Tested-by: Will Deacon <will@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/seccomp/seccomp_bpf.c