]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/seccomp: Prepare for exclusive seccomp flags
authorKees Cook <keescook@chromium.org>
Wed, 24 Apr 2019 16:32:55 +0000 (09:32 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 25 Apr 2019 22:55:48 +0000 (15:55 -0700)
commite14d51cee89a8cc7d5dc6908b6fcbc8728b91515
tree382c4962edbab041134d37a906b698213790787b
parent525165e49b28a4616473e397876dd5320cbeb3e0
selftests/seccomp: Prepare for exclusive seccomp flags

Some seccomp flags will become exclusive, so the selftest needs to
be adjusted to mask those out and test them individually for the "all
flags" tests.

Cc: stable@vger.kernel.org # v5.0+
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Tycho Andersen <tycho@tycho.ws>
Acked-by: James Morris <jamorris@linux.microsoft.com>
tools/testing/selftests/seccomp/seccomp_bpf.c