]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: ARM: Give SIGSEGV if signal frame setup fails
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jul 2016 15:44:48 +0000 (16:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 21 Sep 2016 19:01:45 +0000 (22:01 +0300)
commit28298c912e2c379f2b7767b351beeb77f001f27f
tree57af2f2d2a1faeef64e7f0eea77f814802c21616
parent09391669975a0e2882c181982d4ddee35a0080bb
linux-user: ARM: Give SIGSEGV if signal frame setup fails

The 32-bit ARM signal frame setup code was just bailing out
on error returns from lock_user_struct calls, without
generating the SIGSEGV that should happen here. Wire up
error return codes to call force_sigsegv().

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/signal.c