lib: tdb: Use sigaction when testing for robust mutexes.
commit100cd28d1fca47dceb0f05d9b825835a2f7ecf34
authorJeremy Allison <jra@samba.org>
Fri, 20 Mar 2015 17:59:08 +0000 (20 10:59 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 8 Apr 2015 21:43:18 +0000 (8 23:43 +0200)
tree85c8a40e14ad31e00ff56b845a45fb7cb111ac95
parent6cab6903b16b4cd9f7145d5a75021ac7d33f3be9
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