]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: vDSO: vdso_test_correctness: Use facilities from parse_vdso.c
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 27 Feb 2026 06:46:00 +0000 (07:46 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 14:23:18 +0000 (15:23 +0100)
commita8b22a158a47e459d4d353600b1405391bbfb567
tree4b3cb1ff02056ef6223d70de0fa2b46c0fdcc7e2
parent38bc16aa47dc89dc3753ee5359c7a7c15f7bf602
selftests: vDSO: vdso_test_correctness: Use facilities from parse_vdso.c

The soname from the vDSO is not a public API. Furthermore it requires
libc to implement dlsym() and friends.

Use the facilities from parse_vdso.c instead which uses the official
vDSO ABI to find it, aligned with the other vDSO selftests.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260227-vdso-selftest-cleanups-v2-5-d84830fa8beb@linutronix.de
tools/testing/selftests/vDSO/Makefile
tools/testing/selftests/vDSO/vdso_test_correctness.c