Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 28 Mar 2014 16:25:39 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: be able to break inheritance of LD_LIBRARY_PATH

* u-igbb@...ey.se <u-igbb@...ey.se> [2014-03-28 14:00:36 +0000]:
> On Fri, Mar 28, 2014 at 02:17:19PM +0100, Szabolcs Nagy wrote:
> > why do you use LD_LIBRARY_PATH then?
> 
> I "do not". I am using the --library-path argument to the dynamic loader.
> (Unless LD_LIBRARY_PATH is forced upon myself by someone else;
> then I need protection from its potentially detrimental side effects)
[..]
> > if you mean you can run '/lib/ld-linux.so.2 binary' then musl can do the same
> 
> Thanks for pointing me in the right direction.
> 
> I was thinking of a "cheap and dirty workaround" while the most
> appropriate is of course to add the missing argument parsing.
> 

i still don't get what you are trying to achieve

what is the difference between

	/lib/ld-linux.so.2 --library-path libpath binary

and

	LD_LIBRARY_PATH=libpath /lib/ld-linux.so.2 binary

?

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.