qemu/linux-user
Peter Maydell 978fae9f1a linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn
Rephrase code used in ARM sigreturn functions to avoid using
uninitialized variables. This fixes one genuine problem ('frame'
would not be initialized if we took the error-exit path because
our stackpointer was misaligned) and one which is clang being
alarmist (frame_addr wouldn't be initialized, though this is
harmless since unlock_user_struct ignores its second argument
in these cases; however since we don't generally make use of
this not-really-documented effect it's better avoided).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1375095632-13735-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-07-29 19:56:52 -05:00
..
alpha linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user 2013-07-09 21:20:28 +02:00
arm linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
cris linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
i386 linux-user: Enable NPTL for x86-64 2013-07-22 21:54:46 +03:00
m68k linux-user: Enable NPTL for m68k 2013-07-22 21:54:20 +03:00
microblaze linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
mips linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
mips64 linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
openrisc linux-user: Enable NPTL for OpenRISC 2013-07-22 21:54:12 +03:00
ppc linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
s390x linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
sh4 linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user 2013-07-09 21:20:28 +02:00
sparc linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
sparc64 linux-user: Clean up handling of clone() argument order 2013-07-22 21:54:36 +03:00
unicore32 linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user 2013-07-09 21:20:28 +02:00
x86_64 linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user 2013-07-09 21:20:28 +02:00
cpu-uname.c linux-user: Use X86CPU property to retrieve CPUID family 2013-07-23 02:41:33 +02:00
cpu-uname.h linux-user: adapt uname machine to emulated CPU 2010-02-06 17:19:43 +01:00
elfload.c linux-user: Change thread_env to CPUState 2013-07-09 21:33:01 +02: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 flatload: fix bss clearing 2012-08-14 20:26:55 +01:00
ioctls.h linux-user: add SIOCADDRT/SIOCDELRT support 2013-07-05 15:45:40 +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: Change thread_env to CPUState 2013-07-09 21:33:01 +02:00
m68k-sim.c linux-user: Fix typo m86k -> m68k 2010-10-05 13:53:56 -05:00
main.c linux-user: correct argument number for sys_mremap and sys_splice 2013-07-29 00:37:14 +02:00
Makefile.objs build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c configure: Make NPTL non-optional 2013-07-22 21:54:52 +03:00
qemu.h configure: Make NPTL non-optional 2013-07-22 21:54:52 +03:00
signal.c linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn 2013-07-29 19:56:52 -05:00
socket.h linux-user: improve target_to_host_sock_type conversion 2013-07-05 15:45:40 +03:00
strace.c linux-user: Don't omit comma for strace of rt_sigaction() 2013-04-05 14:40:54 +02:00
strace.list linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
syscall_defs.h linux-user: Fix epoll on ARM hosts 2013-07-23 17:28:28 +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: Reset copied CPUs in cpu_copy() always 2013-07-23 17:28:28 +03:00
target_flat.h linux-user/FLAT: allow targets to override FLAT processing 2011-02-09 10:33:54 +02:00
uaccess.c Fix missing strnlen problems 2009-07-01 18:24:44 +00:00
vm86.c linux-user: fix abi_(u)long, target_ulong mismatch 2011-10-27 14:42:16 +03:00