mailing list of musl libc
 help / color / mirror / code / Atom feed
* LD_PRELOAD should treat space and colon as separator
@ 2014-07-09 16:50 John Spencer
  2014-07-11  4:27 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: John Spencer @ 2014-07-09 16:50 UTC (permalink / raw)
  To: musl

from reading the code in dynlink.c, load_preload(), it appears as if 
musl's LD_PRELOAD only accepts space as a separator.

according to http://man7.org/linux/man-pages/man8/ld.so.8.html
GLIBC and probably other dynlinker accept ":" as well:

LD_PRELOAD
         A list of additional, user-specified, ELF shared libraries to
         be loaded before all others.  The items of the list can be
         separated by spaces or colons.

--JS


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LD_PRELOAD should treat space and colon as separator
  2014-07-09 16:50 LD_PRELOAD should treat space and colon as separator John Spencer
@ 2014-07-11  4:27 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2014-07-11  4:27 UTC (permalink / raw)
  To: musl

On Wed, Jul 09, 2014 at 06:50:06PM +0200, John Spencer wrote:
> from reading the code in dynlink.c, load_preload(), it appears as if
> musl's LD_PRELOAD only accepts space as a separator.
> 
> according to http://man7.org/linux/man-pages/man8/ld.so.8.html
> GLIBC and probably other dynlinker accept ":" as well:
> 
> LD_PRELOAD
>         A list of additional, user-specified, ELF shared libraries to
>         be loaded before all others.  The items of the list can be
>         separated by spaces or colons.
> 
> --JS

Should be fixed by commit 349381aa8c0fc385e54e1068dd5f2b27af55cd12.

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-11  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 16:50 LD_PRELOAD should treat space and colon as separator John Spencer
2014-07-11  4:27 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).