Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.debian.ports.superh,gmane.linux.debian.ports.68k |
|---|---|
| Message-ID | <[email protected]> |
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