selftests: vDSO: vdso_test_abi: Add tests for clock_gettime64()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 12 Aug 2025 05:39:08 +0000 (07:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 08:57:39 +0000 (10:57 +0200)
commit7262aa781fea89cc388335e9c5c6701d8bb13d42
treeb51eac74b13c41441de175aeb2af49c4027fcb04
parent7b87dbf9d8465ad437cd7efacc26215b2c189607
selftests: vDSO: vdso_test_abi: Add tests for clock_gettime64()

To be y2038-safe, 32-bit userspace needs to explicitly call the 64-bit safe
time APIs. For this the 32-bit vDSOs contains a clock_gettime() variant
which always uses 64-bit time types.

Also test this vDSO function.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250812-vdso-tests-fixes-v2-7-90f499dd35f8@linutronix.de
tools/testing/selftests/vDSO/vdso_test_abi.c