diff options
| author | Alexander Graf <agraf@suse.de> | 2011-11-02 20:23:24 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2012-02-02 17:51:20 +0200 |
| commit | 36c08d498b8ea6995666b805d37c6bb14da66a97 (patch) | |
| tree | 62e0e954e4c889e295088dd87ddb7b743efd0fda /linux-user/main.c | |
| parent | 3be14d05d45774b67398debe42e3bb5524998f4f (diff) | |
| download | focaccia-qemu-36c08d498b8ea6995666b805d37c6bb14da66a97.tar.gz focaccia-qemu-36c08d498b8ea6995666b805d37c6bb14da66a97.zip | |
linux-user: fake /proc/self/maps
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 <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