aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-07-28 16:44:47 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-09-21 22:01:45 +0300
commit09391669975a0e2882c181982d4ddee35a0080bb (patch)
treec41c5bc4677c75dd3df28b58b6f99151f79b83d3 /linux-user/sparc
parent9d2803f720d5b71937c0f564bb2c16d8f5e18c8c (diff)
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/sparc')
0 files changed, 0 insertions, 0 deletions