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: Michael Tokarev
Subject: Re: [PATCH] linux-user: manage binfmt-misc preserve-arg[0] flag
Date: Mon, 22 Feb 2021 17:38:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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.

/mjt

Adrian

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974004





reply via email to

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