« Previous | Next » 

Revision 480b8e7d

ID480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee

Added by Alexander Graf about 12 years ago

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 <>
Signed-off-by: Riku Voipio <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences