[PATCH v3 11/32] elf: Merge the three implementations of _dl_dst_substitute
Florian Weimer
fweimer@redhat.com
Sun Feb 2 17:13:36 GMT 2025
* Joseph Myers:
> On Thu, 7 Dec 2023, Florian Weimer wrote:
>
>> Use one implementation to perform the copying and the counting.
>>
>> The IS_RTLD check for l_origin processing is eliminated because
>> $ORIGIN cannot used with the ld.so link map (and not with the
>> vDSO link map either) because there is no user code associated
>> with it that might call dlopen with an $ORIGIN path.
>
> OK, together with the removal of dl-dst.h and of its inclusion in
> elf/dl-origin.c if that's what's intended.
Yes, this change will be part of the reposted version. (This commit
depends on the not-yet-approved <alloc_buffer.h> changes.)
Thanks,
Florian
More information about the Libc-alpha
mailing list