[patch v4 3/4] Add system-wide tunables: Apply tunables part
Florian Weimer
fweimer@redhat.com
Fri Jan 30 16:43:41 GMT 2026
* DJ Delorie:
> Florian Weimer <fweimer@redhat.com> writes:
>>>>> +dl_strcmp(const char *s1, const char *s2)
>>>>> +dl_strlen(const char *s)
>>>>
>>>> That shouldn't be necessary, we have mechanisms for using string
>>>> functions from ld.so (rtld-str*.c wrappers of generic routines).
>>>
>>> I might need more clues here...
>>
>> What type of breakage do you see if you remove these workarounds?
>
> I meant, I need more clues for how to use rtld-str* that bypasses the
> ifunc versions. The tunables loading happens before ifuncs are set up
> (or before libc.so is even loaded), so calls to the generic
> strcmp/strlen just crash.
This should be enough:
#include <dl-symbol-redir-ifunc.h>
Florian
More information about the Libc-alpha
mailing list