Skip to content

Commit 37dc2e0

Browse files
committed
selftests/pidfd: Fix config for pidfd_setns_test
Required by switch_timens() to open /proc/self/ns/time_for_children. CONFIG_GENERIC_VDSO_TIME_NS is not available on UML, so pidfd_setns_test cannot be run successfully on this architecture. Cc: Shuah Khan <[email protected]> Fixes: 2b40c5d ("selftests/pidfd: add pidfd setns tests") Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mickaël Salaün <[email protected]>
1 parent e67572c commit 37dc2e0

File tree

1 file changed

+2
-0
lines changed
  • tools/testing/selftests/pidfd

1 file changed

+2
-0
lines changed

tools/testing/selftests/pidfd/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ CONFIG_IPC_NS=y
33
CONFIG_USER_NS=y
44
CONFIG_PID_NS=y
55
CONFIG_NET_NS=y
6+
CONFIG_TIME_NS=y
7+
CONFIG_GENERIC_VDSO_TIME_NS=y
68
CONFIG_CGROUPS=y
79
CONFIG_CHECKPOINT_RESTORE=y

0 commit comments

Comments
 (0)