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
cris
i386
m68k
microblaze
mips
mips64
mipsn32
openrisc
ppc
s390x
sh4
sparc
sparc64
unicore32
x86_64
cpu-uname.c
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
mmap.c
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
strace.list
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