From: "Lauri Leukkunen" <lle@rahina.org>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Make user-mode emu drop LD_PRELOAD
Date: Sun, 22 Apr 2007 23:37:16 +0300 [thread overview]
Message-ID: <53fbb7580704221337o2de39288uc7e27dccdd30dd5a@mail.gmail.com> (raw)
In-Reply-To: <200704222103.41727.paul@codesourcery.com>
On 4/22/07, Paul Brook <paul@codesourcery.com> wrote:
> On Sunday 22 April 2007 20:39, Lauri Leukkunen wrote:
> > This patch makes user-mode emulation drop LD_PRELOAD environment variable
> > by default and adds an option "-keep-ld-preload" to override this
> > behaviour.
>
> Why?
My use case is for scratchbox 2, I want to have libsb2.so preloaded
for qemu-arm itself, but I don't want the target process to have to
load it as there is no such library for it.
I just realized that this patch is probably not doing the right thing
anyway, I think it should modify the target process environment in
loader_exec instead of unsetting it for qemu itself, end result is
more or less the same for simple cases, but I need to check where the
environment is inherited from if the emulated process execs another.
/lauri
prev parent reply other threads:[~2007-04-22 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-22 19:39 [Qemu-devel] [PATCH] Make user-mode emu drop LD_PRELOAD Lauri Leukkunen
2007-04-22 20:03 ` Paul Brook
2007-04-22 20:37 ` Lauri Leukkunen [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=53fbb7580704221337o2de39288uc7e27dccdd30dd5a@mail.gmail.com \
--to=lle@rahina.org \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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.
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).