Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries
On 9/16/20 7:53 PM, Michael Tokarev wrote:
> Where it's been fixed? current git version of scripts/qemu-binfmt-conf.sh
> does not have 'preserved' option, and if the P flag is set when registering
> binfmt, the kernel will _prepend_ additional argv[0] element which is not
> expected by current linux-user/main.c code (so the tst.c example will be
> running with 3 args, not 2).
It's called "--persistent yes", not preserve, my bad.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: