This is the mail archive of the libc-alpha@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]

Re: [RFC][BZ #11064] Warn when ldconfig encounters ambiguous SONAME.


> On Thu, Oct 31, 2013 at 01:19:11PM -0700, Roland McGrath wrote:
> > Needs a test case.  Should be doable using -r.
> > 
> > The time-based hack is not robust.  It really needs to check for conflicts
> > directly.  Since ldconfig works as it goes, it would be destructive if it
> > just kept track along the way.  So I think to do this right it really needs
> > to do a first scan-only pass where it decides what it will do and records
> > it all without touching anything, and then a final pass (if it didn't error
> > out during the first pass) that actually commits.  That is substantially
> > more work, but it's the only way to be robust that I can think of.
> 
> That is why I made this a warning.

Then its lack is a false sense of security.


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