[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user/main.c: Always set QEMU_LD_PREFIX wh
From: |
Chen Gang |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user/main.c: Always set QEMU_LD_PREFIX when interp_prefix is changed |
Date: |
Thu, 10 Sep 2015 15:50:11 +0800 |
Oh, this issue may be for all command lines (e.g. -d option), I guess, we need
process them all in main() when process command line options.
----------------------------------------
> Subject: Re: [PATCH] linux-user/main.c: Always set QEMU_LD_PREFIX when
> interp_prefix is changed
> To: address@hidden
> CC: address@hidden; address@hidden; address@hidden
> From: address@hidden
> Date: Thu, 10 Sep 2015 13:49:18 +0800
>
> On 2015年09月10日 13:43, address@hidden wrote:
>> From: Chen Gang <address@hidden>
>>
>> If qemu sets interp_prfix via command line '-L' instead of environments
>> variable QEMU_LD_PREFIX, it will cause syscall execve() failed. Because
>> the 2nd qemu has no command line '-L'.
>>
>
> Oh, sorry for typo, "the 2nd" -> "the second".
>
>> So qemu need always set QEMU_LD_PREFIX when interp_prefix is changed.
>>
>> Signed-off-by: Chen Gang <address@hidden>
>
>
> Thanks.
> --
> Chen Gang
>
> Open, share, and attitude like air, water, and life which God blessed