On Sun, Jul 06, 2025 at 10:43:47PM +0200, Thomas Gleixner wrote:
On Tue, Jul 01 2025 at 10:58, Thomas Weißschuh wrote:
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.
I'm kinda surprised to find this here in this series. Isn't that commit c9fbaa879508 obsolete since nolibc got it's own elf.h?
Correct.
So this should just go straight to Linus, no?
It could. But the next patch of this series depends on it for now. So to avoid ordering issues I kept both patches together.
Thomas