[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] linux-user: manage binfmt-misc preserve-arg
From: |
John Paul Adrian Glaubitz |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] linux-user: manage binfmt-misc preserve-arg[0] flag |
Date: |
Tue, 30 Jul 2019 13:04:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Hi!
Sorry for the late reply!
On 7/17/19 12:07 PM, Laurent Vivier wrote:
> And I don't like to break existing things...
>
> What I can propose:
>
> 1- modify this patch to add a configure option:
>
> by default qemu will need the QEMU_ARGV0 but we will be able to
> define at configure time it always runs with preserve-arg[0] flag
> enabled (something like "--enable-preserve-arg0")
>
> [So debian will be able to provide qemu-user-static with this enabled by
> default if you're not afraid to break debian users environment]
This sounds like a reasonable approach for the time being, I agree with
that. I could just pass that option to configure whenever I build new
static qemu binaries for the buildds and I can drop your customized
patch locally.
> 2- try (again) to push in the kernel the binfmt_misc namespace that
> allows to have per chroot basis binfmt configuration
That would be cool, too. Has there been some discussion on this already?
> 3- once 3 done, enable preserve-arg[0] by default
You mean once "2 done"?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - address@hidden
`. `' Freie Universitaet Berlin - address@hidden
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913