1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/ldb/ldb_mdb
Gary Lockyer 322e42818b ldb_mdb: prevent MDB_env reuse across forks
MDB_env's may not be reused accross forks.  Check the pid that the lmdb
structure was created by, and return an error if it is being used by a
different process.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2018-05-23 02:27:11 +02:00
..
ldb_mdb_init.c
ldb_mdb.c ldb_mdb: prevent MDB_env reuse across forks 2018-05-23 02:27:11 +02:00
ldb_mdb.h ldb_mdb: Store pid to change destructor on fork 2018-05-23 02:27:11 +02:00