[PATCH 13/14] Revert "selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers"

Thomas Gleixner tglx at linutronix.de
Sun Jul 6 13:43:47 PDT 2025


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?

So this should just go straight to Linus, no?

Thanks,

        tglx



More information about the linux-arm-kernel mailing list