This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/24913] /etc/ld.so.preload.d drop-in configuration folder support


https://sourceware.org/bugzilla/show_bug.cgi?id=24913

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Carlos O'Donell from comment #3)
> (In reply to Florian Weimer from comment #2)
> > (In reply to Carlos O'Donell from comment #1)
> > > (In reply to adrelanos from comment #0)
> > > > File /etc/ld.so.preload can be used to preload shard objects but there is no
> > > > /etc/ld.so.preload.d drop-in configuration folder supported yet.
> > > 
> > > Yes there is.
> > > 
> > > You just use "include ld.so.conf.d/*.conf" in the top-level configuration.
> > 
> > Sorry, /etc/ld.so.conf and /etc/ld.so.preload are two different files with
> > different parsers and capabilities.  The dynamic loader does not read
> > /etc/ld.so.conf  at all.
> 
> Oh! I thought we used exactly the same parser internally for both. I see
> what you mean though in elf/rtld.c we have a completely different parser.

We can probably refactor some of parse_conf_include. I'd hate to have this code
duplicated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]