Re: [Qemu-devel] [PATCH 3/5] linux-user: fake /proc/self/maps

2011-11-03 Thread Alexander Graf
Alexander Graf wrote: > glibc's pthread_attr_getstack tries to find the stack range from > /proc/self/maps. Unfortunately, /proc is usually the host's /proc > which means linux-user guests see qemu's stack there. > > Fake the file with a constructed maps entry that exposes the guest's > stack range

[Qemu-devel] [PATCH 3/5] linux-user: fake /proc/self/maps

2011-11-02 Thread Alexander Graf
glibc's pthread_attr_getstack tries to find the stack range from /proc/self/maps. Unfortunately, /proc is usually the host's /proc which means linux-user guests see qemu's stack there. Fake the file with a constructed maps entry that exposes the guest's stack range. Signed-off-by: Alexander Graf