diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-03 05:15:49 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-01-07 13:01:34 (GMT) |
commit | f85741eb5fb2653fd9138b4bef68396615c720f7 (patch) | |
tree | cf57bfb2816c43ab7bc832ce1535b92000b20af0 /include/Kbuild | |
parent | 9e4930dbf17c1eba72631cd52a0c621da3d1a816 (diff) | |
download | linux-fsl-qoriq-f85741eb5fb2653fd9138b4bef68396615c720f7.tar.xz |
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 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions