Le 24/10/2019 à 00:37, Christophe de Dinechin a écrit :
>
> Laurent Vivier writes:
>
>> Add --preserve-arg0 in qemu-binfmt-conf.sh to configure the preserve-arg0
>> flag.
>
> There is an inconsistency below, where some parts use preserve-argv0
> and others preserve-arg0 (no v)
I agree. I'm goin
Laurent Vivier writes:
> Add --preserve-arg0 in qemu-binfmt-conf.sh to configure the preserve-arg0
> flag.
There is an inconsistency below, where some parts use preserve-argv0
and others preserve-arg0 (no v)
Frankly, I would accept both ;-)
>
> Now, if QEMU is started with -0 or QEMU_ARGV0 an
Any comments on this?
It would be interesting to have this in 4.2
Thanks,
Laurent
Le 08/09/2019 à 12:48, Laurent Vivier a écrit :
> Add --preserve-arg0 in qemu-binfmt-conf.sh to configure the preserve-arg0
> flag.
>
> Now, if QEMU is started with -0 or QEMU_ARGV0 and an empty parameter
> argv[0
Add --preserve-arg0 in qemu-binfmt-conf.sh to configure the preserve-arg0
flag.
Now, if QEMU is started with -0 or QEMU_ARGV0 and an empty parameter
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'/preserv