qemu-e2k/linux-user
Jan-Simon Möller dab46405d9 Re: linux-user/syscall.c - don't add GUEST_BASE to NULL pointer
This patch fixes the mount call. GUEST_BASE shouldn't be added to a NULL pointer on arg5 . failing call:
mount("rootfs", "/", 0x47a78, MS_MGC_VAL|MS_REMOUNT, 0x10000) = -1 EFAULT (Bad address)

correct call:
mount("rootfs", "/", 0x37ab0, MS_MGC_VAL|MS_REMOUNT, NULL) = 0

Signed-off-by:  Jan-Simon Möller  <dl9pf@gmx.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2009-10-17 21:52:43 +03:00
..
alpha Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
arm linux-user: fix up oversealous nitpicking 2009-10-02 17:59:12 +00:00
cris Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
i386 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
m68k Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
microblaze Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mips Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mips64 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mipsn32 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
ppc Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sh4 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sparc Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
sparc64 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
x86_64 Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
elfload.c linux-user: Update ARM hwcaps 2009-10-16 14:37:33 +03:00
elfload32.c Remove unwanted executable properties 2008-04-06 06:04:39 +00:00
errno_defs.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
flat.h Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
flatload.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
ioctls.h linux-user: KD/VT/FB ioctls 2009-10-17 11:38:00 +03:00
linux_loop.h Fix build failure with old kernel headers (loop.h is incompatible with 2008-05-23 16:06:43 +00:00
linuxload.c linux-user: don't zero a buffer twice 2009-10-16 14:36:36 +03:00
m68k-sim.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
main.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
mmap.c __thread should be before real type 2009-09-25 19:53:17 +00:00
qemu-types.h linux-user: Move abi_* typedefs into qemu-types.h 2008-12-08 18:12:04 +00:00
qemu.h Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
signal.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
socket.h Various linux-user structures and definitions fixes for PowerPC targets. 2007-12-10 08:24:59 +00:00
strace.c linux-user: strace now handles guest stringscorrectly [v2] 2009-06-19 02:51:47 +04:00
strace.list linux-user: strace now handles guest strings correctly [v2] 2009-06-16 16:56:28 +03:00
syscall.c Re: linux-user/syscall.c - don't add GUEST_BASE to NULL pointer 2009-10-17 21:52:43 +03:00
syscall_defs.h linux-user: KD/VT/FB ioctls 2009-10-17 11:38:00 +03:00
syscall_types.h linux-user: KD/VT/FB ioctls 2009-10-17 11:38:00 +03:00
uaccess.c Fix missing strnlen problems 2009-07-01 18:24:44 +00:00
vm86.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00