mailing list of musl libc
 help / color / mirror / code / Atom feed
From: u-wsnj@aetey.se
To: musl@lists.openwall.com
Subject: Re: --preload and --library-path ?
Date: Thu, 2 Apr 2015 14:16:03 +0200	[thread overview]
Message-ID: <20150402121603.GC4456@example.net> (raw)
In-Reply-To: <CAGDMk9FkD8ae-aCJsuJdDMJu0O3eB669AF178LJYi+6vE6MLpQ@mail.gmail.com>

On Wed, Apr 01, 2015 at 10:59:22AM -0400, John Mudd wrote:
> Where can I get more info on these options?
> 
> 1.1.1 release notes
> 
> new features:
> - new options --preload and --library-path to dynamic linker

These are a straightforward and proper (safe) equivalent of the
traditional poorly designed / unsafe LD_PRELOAD and LD_LIBRARY_PATH
environment variables. The options take the arguments with values
corresponding to the ones would-be-put into the variables.
The first non-option argument to the dynamic loader is the binary to be
run, the rest is passed as arguments to the started program.

In contrast to the variables these options are not automatically inherited
by possible child processes and exhibit the correct and safe behaviour.
The variables are atill respected if the corresponding option is not present.

Rune



      parent reply	other threads:[~2015-04-02 12:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 14:59 John Mudd
2015-04-01 15:33 ` Szabolcs Nagy
2015-04-02 12:16 ` u-wsnj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150402121603.GC4456@example.net \
    --to=u-wsnj@aetey.se \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).