OSDN Git Service

selftests/seccomp: Allow get_metadata to XFAIL
authorKees Cook <keescook@chromium.org>
Thu, 15 Mar 2018 16:59:16 +0000 (09:59 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 21 Mar 2018 16:42:46 +0000 (10:42 -0600)
commit6c3b6d50839151c5d8a077610b5d8c3dc1e7e7b3
tree889fc2b157631751e7a91f779ec0e91b9f33cb7d
parent55c1b5f4af398f5776add417ddf8ae9cc574f0b7
selftests/seccomp: Allow get_metadata to XFAIL

Since seccomp_get_metadata() depends on CHECKPOINT_RESTORE, XFAIL the
test if the ptrace reports it as missing.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Tycho Andersen <tycho@tycho.ws>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/kselftest_harness.h
tools/testing/selftests/seccomp/seccomp_bpf.c