This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/24913] /etc/ld.so.preload.d drop-in configuration folder support
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Aug 2019 14:07:28 +0000
- Subject: [Bug libc/24913] /etc/ld.so.preload.d drop-in configuration folder support
- Auto-submitted: auto-generated
- References: <bug-24913-131@http.sourceware.org/bugzilla/>
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.