]> 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)
commit8cbe88d9cb4e67312e4fe408a84ede9322ee7bcc
tree382c4962edbab041134d37a906b698213790787b
parentb85d83bae525031a6bd85f15b7d05f521f7900d2
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