]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: vDSO: vdso_test_abi: Use UAPI system call numbers
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 23 Dec 2025 06:59:14 +0000 (07:59 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 13 Jan 2026 13:42:23 +0000 (14:42 +0100)
commit1dcd1273add368c2b7c65135e22b416e1b374781
tree8544c7f9613ee7233ad1c8c834a496cda45ff8c4
parent609e359ab904698f1e5aa0ab2fee2f4c29ee0886
selftests: vDSO: vdso_test_abi: Use UAPI system call numbers

SYS_clock_getres might have been redirected by libc to some other system
call than the actual clock_getres. For testing it is required to use
exactly this system call.

Use the system call number exported by the UAPI headers which is always
correct.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251223-vdso-compat-time32-v1-3-97ea7a06a543@linutronix.de
tools/testing/selftests/vDSO/vdso_test_abi.c