Revert "lib: tdb: Use sigaction when testing for robust mutexes."
authorAndreas Schneider <asn@samba.org>
Wed, 25 Mar 2015 10:39:54 +0000 (11:39 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 25 Mar 2015 13:58:38 +0000 (14:58 +0100)
commit8c4d4f9e627256bb8c93615b600acfb438cdef55
tree852b92e54e3127245c308dae3d6bc43307af152f
parent293e2fcacb298f3f3342e87987bf6ebd4ddad9c8
Revert "lib: tdb: Use sigaction when testing for robust mutexes."

This fails on Linux platforms with robust mutex support with the
following error:

tdb(/home/asn/workspace/projects/samba/git/st/nt4_dc/lockdir/gencache_notrans.tdb):
    tdb_mutex_open_ok[/home/asn/workspace/projects/samba/git/st/nt4_dc/lockdir/gencache_notrans.tdb]:
    Can use mutexes only with MUTEX_LOCKING or NOLOCK

We also see winbind is not able to start with this error message trying
to open the serverid.tdb.

This reverts commit d1914367289b58f26544ee6e116490d662d9c41c.

Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Mar 25 14:58:38 CET 2015 on sn-devel-104
lib/tdb/common/mutex.c