]> Git Repo - qemu.git/commit
linux-user: fake /proc/self/stat
authorAlexander Graf <[email protected]>
Wed, 2 Nov 2011 19:23:25 +0000 (20:23 +0100)
committerRiku Voipio <[email protected]>
Thu, 2 Feb 2012 15:51:20 +0000 (17:51 +0200)
commit480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee
tree1632d5ad7b811658843a9d92e7709ddd42b23ba7
parent36c08d498b8ea6995666b805d37c6bb14da66a97
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 <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/syscall.c
This page took 0.022484 seconds and 4 git commands to generate.