qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Make user-mode emu drop LD_PRELOAD


From: Lauri Leukkunen
Subject: Re: [Qemu-devel] [PATCH] Make user-mode emu drop LD_PRELOAD
Date: Sun, 22 Apr 2007 23:37:16 +0300

On 4/22/07, Paul Brook <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]