aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/irq/pm.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-10-03 01:15:49 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-01-07 14:01:34 +0100
commitf85741eb5fb2653fd9138b4bef68396615c720f7 (patch)
treecf57bfb2816c43ab7bc832ce1535b92000b20af0 /kernel/irq/pm.c
parentm68k: Simplify the singlestepping handling in signals (diff)
downloadwireguard-linux-f85741eb5fb2653fd9138b4bef68396615c720f7.tar.xz
wireguard-linux-f85741eb5fb2653fd9138b4bef68396615c720f7.zip
m68k: Don't lose state if sigframe setup fails
If we'd failed in setup_frame(), we've no place to store the original sigmask. It's not an unrecoverable situation - we raise SIGSEGV, but that SIGSEGV might be successfully handled (e.g. on altstack). In that case we really don't want sa_mask of original signal permanently slapped on the set of blocked signals. Standard solution: have setup_frame()/setup_rt_frame() report failure and don't mess with the signal-related state if that has happened... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions