[PATCH v5 1/4] Add system-wide tunables: ldconfig part

Florian Weimer fweimer@redhat.com
Thu Feb 26 13:28:54 GMT 2026


* DJ Delorie:

> Yury Khrustalev <yury.khrustalev@arm.com> writes:
>> Overall I think this commit should be preceded with a refactoring of
>> reading ld config files to allow for also reading other types of
>> configs. The size of duplicated code is huge, IMO.
>
> This is a quicky... I didn't try using this with the tunables patch,
> but... something like this?
>
>     elf: factor out ld.conf parsing

I think the general direction is right.

I think we should start giving the ldconfig files ldconfig- or similar
prefixes, so that things appear a bit less crowded in the elf directory.
Do we need a separate parseconf.h file, or could we stick it into an
existing shared header?

And I think the function comment should be a bit more elaborate.
Especially regarding the callback behavior.

Thanks,
Florian



More information about the Libc-alpha mailing list