summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-03-26 12:42:31 +0100
committerThomas Gleixner <tglx@kernel.org>2026-03-26 15:44:23 +0100
commit1b6c89285d37114d7efe8ab04102a542581cd7da (patch)
tree1254dd6d69b79fe060c6d0369b46967a32d86851 /init
parent5dc9cf835aba73c882348aa4f99be83b6e45ad9b (diff)
downloadlinux-2.6-1b6c89285d37114d7efe8ab04102a542581cd7da.tar.gz
linux-2.6-1b6c89285d37114d7efe8ab04102a542581cd7da.zip
timens: Remove dependency on the vDSO
Previously, missing time namespace support in the vDSO meant that time namespaces needed to be disabled globally. This was expressed in a hard dependency on the generic vDSO library. This also meant that architectures without any vDSO or only a stub vDSO could not enable time namespaces. Now that all architectures using a real vDSO are using the generic library, that dependency is not necessary anymore. Remove the dependency and let all architectures enable time namespaces. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260326-vdso-timens-decoupling-v2-2-c82693a7775f@linutronix.de
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 444ce811ea67..5e710b03a27a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1386,12 +1386,14 @@ config UTS_NS
config TIME_NS
bool "TIME namespace"
- depends on GENERIC_GETTIMEOFDAY
default y
help
In this namespace boottime and monotonic clocks can be set.
The time will keep going with the same pace.
+config TIME_NS_VDSO
+ def_bool TIME_NS && GENERIC_GETTIMEOFDAY
+
config IPC_NS
bool "IPC namespace"
depends on (SYSVIPC || POSIX_MQUEUE)