aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-05-01 16:30:28 +0100
committerRiku Voipio <riku.voipio@linaro.org>2012-05-03 17:31:52 +0300
commit1a49ef2ad3c1c3c50e6aea348260412f98ea862d (patch)
tree07ed5e0f3c229bc6695e9960eeb4b55aca09b8e2 /net.c
parent209c48491835db84ab728f93209c00954c9e4470 (diff)
downloadqemu-1a49ef2ad3c1c3c50e6aea348260412f98ea862d.zip
qemu-1a49ef2ad3c1c3c50e6aea348260412f98ea862d.tar.gz
qemu-1a49ef2ad3c1c3c50e6aea348260412f98ea862d.tar.bz2
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 'net.c')
0 files changed, 0 insertions, 0 deletions