lib: tdb: Use sigaction when testing for robust mutexes.
authorJeremy Allison <jra@samba.org>
Fri, 20 Mar 2015 17:59:08 +0000 (10:59 -0700)
committerMichael Adam <obnox@samba.org>
Thu, 26 Mar 2015 03:29:42 +0000 (04:29 +0100)
commit05b61ea47d1a30e6c37e46c199eb975f79099ed3
tree4c6ac3f945d37e13d4249968039f90a5c22802f6
parente8932b92016fc7ece3169635fbe3d98cb0caa36b
lib: tdb: Use sigaction when testing for robust mutexes.

Working fix that copes with oldact.sa_handler == NULL
if no handler initially set.

Fixes bug #11175 - Lots of winbindd zombie processes on Solaris platform.

https://bugzilla.samba.org/show_bug.cgi?id=11175

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Mar 26 04:29:42 CET 2015 on sn-devel-104
lib/tdb/common/mutex.c