selftests/seccomp: Update kernel config
Subsystems (2)
PATCH 1/1 selftests/seccomp: Update kernel config
From: Mickaël Salaün <[email protected]>
seccomp_bpf.c uses unshare(CLONE_NEWPID), which requires CONFIG_PID_NS to be set.
Cc Kees Cook <[email protected]>
Cc Shuah Khan <[email protected]>
Fixes 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace")
Signed-off-by Mickaël Salaün <[email protected]>
Acked-by Tycho Andersen <[email protected]>
---
Previous version:
https://lore.kernel.org/lkml/[email protected]/
Changes since v1:
* Add Acked-by: Tycho Andersen <[email protected]>
* Synchronize From and Signed-off-by emails.
--- tools/testing/selftests/seccomp/config | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/seccomp/config +1 -0
@@ -1,3 +1,4 @@ +CONFIG_PID_NS=y CONFIG_SECCOMP=y CONFIG_SECCOMP_FILTER=y CONFIG_USER_NS=y
base-commit: b65054597872ce3aefbc6a666385eabdf9e288da
Signature · 1 line
2.29.2
Kees Cook
AppliedQuoted 2 lines · Mickaël Salaün
seccomp_bpf.cusesunshare(CLONE_NEWPID), which requiresCONFIG_PID_NSto be set.
Applied to for-next/seccomp, thanks!
[1/1] selftests/seccomp: Update kernel config
https://git.kernel.org/kees/c/2c07343abd89
Signature · 1 line
Kees Cook