selftests/pidfd: Fix config for pidfd_setns_test
authorMickaël Salaün <mic@digikod.net>
Sat, 11 May 2024 17:14:36 +0000 (19:14 +0200)
committerMickaël Salaün <mic@digikod.net>
Sat, 11 May 2024 17:18:39 +0000 (19:18 +0200)
commit37dc2e0d38d6eb690ee043b43ee6f7cdf2994bf6
tree2bcfa3262fd22fb10f55ab5c0325128c755e1fa1
parente67572cd2204894179d89bd7b984072f19313b03
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 <skhan@linuxfoundation.org>
Fixes: 2b40c5db73e2 ("selftests/pidfd: add pidfd setns tests")
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20240511171445.904356-2-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/pidfd/config