[PATCH] elf: Support vDSO with more than one PT_LOAD with v_addr starting at 0 (BZ 32583)
Florian Weimer
fweimer@redhat.com
Thu Dec 18 15:44:34 GMT 2025
* Adhemerval Zanella:
> The setup_vdso assumes that vDSO will contain only one PT_LOAD segment
> and that 0 is the sentinel for the start mapping address. Although the
> kernel avoids adding more than one PT_LOAD to avoid compatibility
> issues, there is no impending issue that prevents glibc from supporting
> vDSO with multiple PT_LOAD (as some wrapper tools do [1]).
[1] is a dangling reference.
The change as such seems fine. Maybe add a comment that this check is
unnecessary on original Linux?
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list