qemu/linux-user
Thomas Huth e9d49d518d linux-user/syscall: Replace g_malloc0 + memcpy with g_memdup
No need to use g_malloc0 to zero the memory if we memcpy to
the whole buffer afterwards anyway. Actually, there is even
a function which combines both steps, g_memdup, so let's use
this function here instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-11-06 15:42:38 +03:00
..
aarch64
alpha
arm linux-user/arm: Correct TARGET_NR_timerfd to TARGET_NR_timerfd_create 2015-05-18 17:45:10 +01:00
cris
i386
m68k
microblaze
mips
mips64
openrisc
ppc
s390x
sh4
sparc
sparc64
tilegx linux-user/tilegx: Implement tilegx signal features 2015-10-07 20:03:15 +11:00
unicore32
x86_64
elfload.c linux-user: Use g_new() & friends where that makes obvious sense 2015-10-08 19:46:47 +03:00
errno_defs.h
flat.h
flatload.c linux-user: remove MAX_ARG_PAGES limit 2015-09-28 16:29:11 +03:00
ioctls.h
linux_loop.h
linuxload.c linux-user: remove MAX_ARG_PAGES limit 2015-09-28 16:29:11 +03:00
m68k-sim.c
main.c linux-user: Use g_new() & friends where that makes obvious sense 2015-10-08 19:46:47 +03:00
Makefile.objs
mmap.c linux-user: assert that target_mprotect cannot fail 2015-10-01 11:43:42 +03:00
qemu.h linux-user: remove MAX_ARG_PAGES limit 2015-09-28 16:29:11 +03:00
signal.c linux-user/tilegx: Implement tilegx signal features 2015-10-07 20:03:15 +11:00
socket.h
strace.c
strace.list
syscall_defs.h linux-user/syscall_defs.h: Sync the latest si_code from Linux kernel 2015-10-07 20:03:15 +11:00
syscall_types.h
syscall.c linux-user/syscall: Replace g_malloc0 + memcpy with g_memdup 2015-11-06 15:42:38 +03:00
target_flat.h
uaccess.c
uname.c
uname.h
vm86.c