qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag


From: John Paul Adrian Glaubitz
Subject: Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag
Date: Mon, 22 Feb 2021 15:43:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/22/21 3:38 PM, Michael Tokarev wrote:
> 22.02.2021 13:58, John Paul Adrian Glaubitz wrote:
>> Hi Laurent!
>>
>> On 2/22/21 11:50 AM, Laurent Vivier wrote:
>>> Add --preserve-argv0 in qemu-binfmt-conf.sh to configure the preserve-argv0
>>> flag.
>>>
>>> This patch allows to use new flag in AT_FLAGS to detect if
>>> preserve-argv0 is configured for this interpreter:
>>> argv[0] (the full pathname provided by binfmt-misc) is removed and
>>> replaced by argv[1] (the original argv[0] provided by binfmt-misc when
>>> 'P'/preserve-arg[0] is set)
>>
>> Would this patch finally fix the issue with the perl package in Debian? [1]
> 
> It's been fixed a week or so ago.

Doesn't the patch require a kernel fix which is only present in Linux 5.12?

@Laurent: Could you help clarify the difference of both fixes?

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913




reply via email to

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