]> git.michaelhowe.org Git - packages/o/openafs.git/commit
HPUX: Do not sigwait on critical signals
authorAndrew Deason <adeason@sinenomine.net>
Tue, 20 Oct 2009 17:43:42 +0000 (12:43 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 21 Oct 2009 20:24:17 +0000 (13:24 -0700)
commit0b5604020a97cc4e486541c98ca7cfafe55d0306
tree4fd589ad97d261ee4f02db7f24b30927fb5ee8b4
parent845f139b1fdb6dc6956a0ff97205ec051b8281cb
HPUX: Do not sigwait on critical signals

On HPUX, it is possible for 'critical' signals such as SEGV, ABRT, etc
to be delivered to the softsig thread when we sigwait(). The current
code marks these as 'fatal' and just exit(0)s when they are received,
preventing us from getting cores in the case of a SEGV, ABRT, etc.

To work around this and keep behavior on other platforms the same, just
do not wait on 'critical' signals on HPUX in the softsig thread.

Reviewed-on: http://gerrit.openafs.org/693
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit bf9c51a4e13b3e621b99866e9be53c8fe35a39fe)
Reviewed-on: http://gerrit.openafs.org/702
src/util/softsig.c