diff options
| author | Alexander Graf <agraf@suse.de> | 2012-05-01 16:30:28 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2012-05-03 17:31:52 +0300 |
| commit | 1a49ef2ad3c1c3c50e6aea348260412f98ea862d (patch) | |
| tree | 07ed5e0f3c229bc6695e9960eeb4b55aca09b8e2 /qemu-timer.h | |
| parent | 209c48491835db84ab728f93209c00954c9e4470 (diff) | |
| download | focaccia-qemu-1a49ef2ad3c1c3c50e6aea348260412f98ea862d.tar.gz focaccia-qemu-1a49ef2ad3c1c3c50e6aea348260412f98ea862d.zip | |
linux-user: fix emulation of /proc/self/maps
Improve the emulation of /proc/self/maps by reading the underlying host maps file and passing lines through with addresses adjusted to be guest addresses. This is necessary to avoid false triggers of the glibc check that a format string containing '%n' is not in writable memory. (For an example see the bug reported in https://bugs.launchpad.net/qemu-linaro/+bug/947888 where gpg aborts.) Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions