A per-user or per-application ld.so.cache?
Carlos O'Donell
carlos@redhat.com
Tue Feb 9 06:04:00 GMT 2016
On 02/08/2016 11:35 PM, Mike Frysinger wrote:
> On 08 Feb 2016 13:40, Carlos O'Donell wrote:
>> Might it make sense to have a per-user ld.so.cache for
>> this case? Might we even entertain a per-application
>> ld.so.cache?
>
> i wouldn't mind adding a new env knob like LD_LIBRARY_CACHE with the
> same characteristics as LD_LIBRARY_PATH such as:
> - it is searched before the system cache
> - it is ignored in set*id environments
I like it. We teach ldconfig to generate cache files, and then
we can even get some cache testing into the testsuite easily
without having to do chroot based testing right away.
c.
More information about the Libc-alpha
mailing list