summaryrefslogtreecommitdiffstats
path: root/linux-user/uname.h
diff options
context:
space:
mode:
authorPeter Maydell2016-07-28 17:44:47 +0200
committerRiku Voipio2016-09-21 21:01:45 +0200
commit09391669975a0e2882c181982d4ddee35a0080bb (patch)
treec41c5bc4677c75dd3df28b58b6f99151f79b83d3 /linux-user/uname.h
parentlinux-user: Pass si_type information to queue_signal() explicitly (diff)
downloadqemu-09391669975a0e2882c181982d4ddee35a0080bb.tar.gz
qemu-09391669975a0e2882c181982d4ddee35a0080bb.tar.xz
qemu-09391669975a0e2882c181982d4ddee35a0080bb.zip
linux-user: SIGSEGV on signal entry need not be fatal
A failed write to memory trying to set up the signal frame should trigger a SIGSEGV, but this need not be fatal: the guest has a chance to catch it. Implement this via a force_sigsegv() function with the same behaviour as the kernel function of that name: make sure that we don't try to re-take a failed SIGSEGV, and force a synchronous signal. 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>
Diffstat (limited to 'linux-user/uname.h')
0 files changed, 0 insertions, 0 deletions