diff options
author | Fabio Erculiani | 2012-01-03 10:38:34 +0100 |
---|---|---|
committer | Riku Voipio | 2012-04-06 17:49:57 +0200 |
commit | e0e65bee16ae8515315d2bad02e021f3fb5dd236 (patch) | |
tree | 829f149ad6e7bdcd5f3e60e20f52d9e64cd1d580 /linux-user/main.c | |
parent | Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf (diff) | |
download | qemu-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