summaryrefslogtreecommitdiffstats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorFabio Erculiani2012-01-03 10:38:34 +0100
committerRiku Voipio2012-04-06 17:49:57 +0200
commite0e65bee16ae8515315d2bad02e021f3fb5dd236 (patch)
tree829f149ad6e7bdcd5f3e60e20f52d9e64cd1d580 /linux-user/main.c
parentMerge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf (diff)
downloadqemu-e0e65bee16ae8515315d2bad02e021f3fb5dd236.tar.gz
qemu-e0e65bee16ae8515315d2bad02e021f3fb5dd236.tar.xz
qemu-e0e65bee16ae8515315d2bad02e021f3fb5dd236.zip
linux-user: improve fake /proc/self/stat making `ps` not segfault.
With the current fake /proc/self/stat implementation `ps` is segfaulting because it expects to read PID and argv[0] as first and second field respectively, with the latter being enclosed between backets. Reproducing is as easy as running: `ps` inside qemu-user chroot with /proc mounted. Signed-off-by: Fabio Erculiani <lxnay@sabayon.org> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions