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

Roland McGrath roland@hack.frob.com
Wed Dec 11 23:14:00 GMT 2013


> 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.



More information about the Libc-alpha mailing list