[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: linux-user: preserving argv[0] of the original binary in contex
From: |
Peter Maydell |
Subject: |
Re: RFC: linux-user: preserving argv[0] of the original binary in context of binfmt-misc |
Date: |
Fri, 5 Mar 2021 18:15:05 +0000 |
On Fri, 5 Mar 2021 at 18:07, Laurent Vivier <laurent@vivier.eu> wrote:
> Le 05/03/2021 à 18:53, Peter Maydell a écrit :
> > Alternatively, if anybody has a bright idea for how to get the kernel
> > to tell us how it's invoking us (ELF auxv entry???) maybe we could make
> > a proposal to the kernel folks.
>
> My patch has been merged in v5.12:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2347961b11d4079deace3c81dceed460c08a8fc1
Ha! I must have seen that before and forgotten about it but
my subconscious still remembered the part about the ELF auxv...
thanks
-- PMM