qemu-e2k/linux-user
Richard Henderson 62724cc5eb linux-user: Use memcpy in get_user/put_user.
When host and target have differing alignment rules, using a cast
and direct memory operation can result in SIGBUS.  Use memcpy instead,
which the compiler will happily optimize when alignment is satisfied.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2012-09-21 22:02:15 +02:00
..
alpha alpha-linux-user: Properly handle the non-rt sigprocmask syscall. 2012-08-04 09:37:49 -07:00
arm build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02: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
openrisc target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
ppc
s390x
sh4
sparc
sparc64
unicore32
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
cpu-uname.c target-arm: Remove ARM_CPUID_* macros 2012-06-20 12:13:28 +00:00
cpu-uname.h
elfload.c linux-user: Use init_guest_space when -R and -B are specified 2012-08-14 20:26:55 +01:00
errno_defs.h
flat.h
flatload.c flatload: fix bss clearing 2012-08-14 20:26:55 +01:00
ioctls.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
linux_loop.h
linuxload.c
m68k-sim.c
main.c linux-user: Remove #if 0'd cpu_get_real_ticks() definition 2012-09-14 08:21:28 +01:00
Makefile.objs build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c linux-user: Allocate the right amount of space for non-fixed file maps 2012-08-04 09:37:49 -07:00
qemu-types.h
qemu.h linux-user: Use memcpy in get_user/put_user. 2012-09-21 22:02:15 +02:00
signal.c sparc: fix expression with uninitialized initial value 2012-08-09 18:34:57 +00:00
socket.h
strace.c linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH 2012-08-04 09:37:49 -07:00
strace.list linux-user: Translate pipe2 flags; add to strace 2012-08-04 09:37:49 -07:00
syscall_defs.h linux-user: fix emulation of getdents 2012-08-27 10:17:30 +03:00
syscall_types.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
syscall.c linux-user: fix emulation of getdents 2012-08-27 10:17:30 +03:00
target_flat.h
uaccess.c
vm86.c