1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00
Volker Lendecke 275d9fc7d9 tdb: Fix mutexes on FreeBSD
susv4 on mmap has the following snippet:

> The state of synchronization objects such as mutexes, semaphores,
> barriers, and conditional variables placed in shared memory mapped
> with MAP_SHARED becomes undefined when the last region in any process
> containing the synchronization object is unmapped.

This means we can't keep the mutex mmap area unmapped at any point
in time.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Nov 29 23:59:52 CET 2016 on sn-devel-144
2016-11-29 23:59:52 +01:00
..
2016-08-29 19:03:27 +02:00
2016-11-29 23:59:52 +01:00
2015-11-06 13:43:45 +01:00
2016-08-29 19:03:27 +02:00
2015-09-18 14:03:12 +02:00
2016-08-24 01:33:50 +02:00
2009-05-05 19:04:39 -04:00
2010-12-24 01:15:05 +01:00
2016-08-29 19:03:27 +02:00