On Wed, 17 Jul 2019 at 11:07, Laurent Vivier <laur...@vivier.eu> wrote: > QEMU is not able to detect if it has been started by binfmt_misc with > the preserve-arg[0] enabled or not, so it can't adapt the args analysis > to get the correct list.
If the kernel provided a more useful interface (for instance telling us what it was doing via the ELF auxv so we knew how to interpret the command line arguments) this would help. Of course you still have to wait until that kernel change actually gets into the hands of users... thanks -- PMM