1
0
Fork 0
remarkable-linux/tools/testing/selftests/seccomp
Tycho Andersen e65cd9a203 seccomp: add a selftest for get_metadata
[ Upstream commit d057dc4e35 ]

Let's test that we get the flags correctly, and that we preserve the filter
index across the ptrace(PTRACE_SECCOMP_GET_METADATA) correctly.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
CC: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:00 +02:00
..
.gitignore selftests: add seccomp suite 2015-06-17 17:12:32 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
seccomp_benchmark.c selftests/seccomp: Add simple seccomp overhead benchmark 2017-08-14 13:46:41 -07:00
seccomp_bpf.c seccomp: add a selftest for get_metadata 2018-05-30 07:52:00 +02:00