1
0
Fork 0

selftests/seccomp: Update kernel config

seccomp_bpf.c uses unshare(CLONE_NEWPID), which requires CONFIG_PID_NS
to be set.

Cc: Kees Cook <keescook@chromium.org>
Cc: Shuah Khan <shuah@kernel.org>
Fixes: 6a21cc50f0 ("seccomp: add a return code to trap to userspace")
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Acked-by: Tycho Andersen <tycho@tycho.pizza>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201202162643.249276-1-mic@digikod.net
zero-sugar-mainline-defconfig
Mickaël Salaün 2020-12-02 17:26:43 +01:00 committed by Kees Cook
parent 7ef95e3dbc
commit 2c07343abd
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
CONFIG_PID_NS=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
CONFIG_USER_NS=y