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 18:05:22 +0000 (11:05 -0700)
commitbf9c51a4e13b3e621b99866e9be53c8fe35a39fe
tree593cca99945e94980fc1278db9d6380edb9afa3e
parent4141bf4084b3f473a8a756b42556c6273cd7c9bd
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>
src/util/softsig.c