[PATCH for-next/seccomp 0/2] selftests/seccomp: SKIP tests requiring root

From: Kees Cook
Date: Fri Jul 10 2020 - 14:52:04 EST


Hi,

This fixes the seccomp selftests to pass (with SKIPs) for regular users.

I intend to put this in for-next/seccomp (to avoid further conflicts
with the kselftest tree).

(and for those following along, this is effectively based on the -next tree)

-Kees

Kees Cook (2):
selftests/seccomp: Add SKIPs for failed unshare()
selftests/seccomp: Set NNP for TSYNC ESRCH flag test

tools/testing/selftests/seccomp/seccomp_bpf.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

--
2.25.1