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

Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries



> On Sep 16, 2020, at 6:57 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
> 
> I’m attaching a test program that does the following:
> 
> • if argv[1] is "-" it just outputs argv[0] and argv[1]
> • otherwise it also execve(2)s argv[1] with its argv[0] set to "meow"

That’s been fixed upstream and can be configured with the qemu-binfmt.sh script and the option “preserved=yes”.

Also, this would be an upstream bug, not a Debian bug :).

Adrian

Reply to: