summary refs log tree commit diff stats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-11-02 20:23:25 +0100
committerRiku Voipio <riku.voipio@linaro.org>2012-02-02 17:51:20 +0200
commit480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee (patch)
tree1632d5ad7b811658843a9d92e7709ddd42b23ba7 /linux-user/main.c
parent36c08d498b8ea6995666b805d37c6bb14da66a97 (diff)
downloadfocaccia-qemu-480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee.tar.gz
focaccia-qemu-480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee.zip
linux-user: fake /proc/self/stat
The boehm gc finds the program's stack starting pointer by
checking /proc/self/stat. Unfortunately, so far it reads
qemu's stack pointer which clearly is wrong.

So let's instead fake the file so the guest program sees the
right address.

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