qemu-e2k/linux-user
Alexander Graf 1a49ef2ad3 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>
2012-05-03 17:31:52 +03:00
..
alpha
arm linux-user/arm/syscall_nr.h: Add syscall number for ppoll 2012-04-06 18:49:58 +03:00
cris
i386
m68k linux-user: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
microblaze
mips
mips64 linux-user: Define TARGET_QEMU_ESIGRETURN for mips64 2012-02-02 17:51:21 +02:00
mipsn32 linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 2012-02-02 17:51:20 +02:00
ppc
s390x
sh4
sparc
sparc64
unicore32
x86_64
cpu-uname.c
cpu-uname.h
elfload.c Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00
errno_defs.h
flat.h
flatload.c
ioctls.h linux-user: Add ioctl for BLKBSZGET 2012-04-06 18:49:58 +03:00
linux_loop.h
linuxload.c
m68k-sim.c
main.c Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00
mmap.c linux-user: resolve reserved_va vma downwards 2012-04-06 18:49:58 +03:00
qemu-types.h
qemu.h Userspace ARM BE8 support 2012-04-06 19:25:57 +03:00
signal.c Bad zero comparison for sas_ss_flags on powerpc 2012-03-15 13:12:10 +01:00
socket.h
strace.c linux-user/strace.c: Correct errno printing for mmap etc 2012-02-02 17:51:20 +02:00
strace.list
syscall_defs.h linux-user: fix BLK ioctl arguments 2012-04-06 18:49:58 +03:00
syscall_types.h linux-user: add struct old_dev_t compat 2012-04-06 18:49:58 +03:00
syscall.c linux-user: fix emulation of /proc/self/maps 2012-05-03 17:31:52 +03:00
target_flat.h
uaccess.c
vm86.c