linux-user: remove all traces of qemu from /proc/self/cmdline
commit58de8b9684cc7b4b1fb3cd47678a04d6924b28de
authorAndreas Schwab <schwab@suse.de>
Mon, 20 Mar 2017 11:31:55 +0000 (20 12:31 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 29 May 2017 11:56:08 +0000 (29 14:56 +0300)
treedf922c6099fe832ee1ef49322fd59bc464879541
parentb936cb50aacf3cccf5d2363095c6547eb709583a
linux-user: remove all traces of qemu from /proc/self/cmdline

Instead of post-processing the real contents use the remembered target
argv.  That removes all traces of qemu, including command line options,
and handles QEMU_ARGV0.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c