[Qemu-devel] [PATCH 02/11] linux-user: fix multi-threaded /proc/self/maps

2012-10-18 Thread riku . voipio
From: Alexander Graf When reading our faked /proc/self/maps from a secondary thread, we get an invalid stack entry. This is because ts->stack_base is not initialized in non-primary threads. However, ts->info is, and the stack layout information we're looking for is there too. So let's use that o

[Qemu-devel] [PATCH 02/11] linux-user: fix multi-threaded /proc/self/maps

2012-10-12 Thread riku . voipio
From: Alexander Graf When reading our faked /proc/self/maps from a secondary thread, we get an invalid stack entry. This is because ts->stack_base is not initialized in non-primary threads. However, ts->info is, and the stack layout information we're looking for is there too. So let's use that o