Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120620154026.2bc98fd7@sibserver.ru>
Date: Wed, 20 Jun 2012 15:40:26 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: Re: musl's ldd - don't exit immidately even if some
 libraries was not found

On Tue, 19 Jun 2012 21:17:36 -0400
Rich Felker <dalias@...ifal.cx> wrote:

> On Tue, Jun 19, 2012 at 05:53:16PM -0700, Isaac Dunham wrote:
> > On Wed, 20 Jun 2012 00:42:10 +0800
> > orc <orc@...server.ru> wrote:
> > 
> > > Patch to make ldd not to exit immidately after unsolved
> > > dependencies.
> > 
> > Out of curiosity, 
> > 1-what practical use is this, and
> > 
> > 2-is there any other system that behaves the same? 
> > 
> > (well, I can think of HXRT with one environment variable set...but
> > that's Windows emulation for DOS, so I can see them having odd
> > behavior)
> > 
> > (Note, I'm not saying it's the wrong thing to do, just wondering
> > where you could use it without expecting SIGSEGV)
> 
> My guess is that the practical use is to get a list of ALL missing
> library dependencies rather than just the first one.
> 
> Rich

Yes, in ldd mode dynamic linker will not exit immediately after missing
library. That what this patch does.
In environments where everything is built from source and no missing
libraries this patch is useless I think, but just to be sure.

Sorry for my English mistakes and message without [PATCH] tag.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.