]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers"
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 27 Feb 2026 06:45:56 +0000 (07:45 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 14:22:55 +0000 (15:22 +0100)
commit5abfa0c4da3bdcc53597127be7cd4054812b0383
tree9d7bf3206b94eda66b830a3e80b0a917a15c5bf8
parent260b98f75b618aa209998557dbd1d13dbc64bc89
Revert "selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers"

This reverts commit c9fbaa879508 ("selftests: vDSO: parse_vdso: Use UAPI
headers instead of libc headers")

The kernel headers were used to make parse_vdso.c compatible with
nolibc.  Unfortunately linux/elf.h is incompatible with glibc's
sys/auxv.h. When using glibc it is therefore not possible build
parse_vdso.c as part of the same compilation unit as its caller
as sys/auxv.h is needed for getauxval().

In the meantime nolibc gained its own elf.h, providing compatibility
with the documented libc interfaces.

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-1-d84830fa8beb@linutronix.de
tools/testing/selftests/vDSO/Makefile
tools/testing/selftests/vDSO/parse_vdso.c