mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
3b2f074bda
This version just wraps the reopen code, so we still re-grab the lock and do the normal sanity checks. The reason we do this at all is to avoid global fd limits, see: http://forums.fedoraforum.org/showthread.php?t=210393 Note also that this whole reopen concept is fundamentally racy: if the parent goes away before the child calls tdb_reopen_all, the database can be left without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it. A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly elegant (what if there are other independent things which have similar needs?). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org> |
||
---|---|---|
.. | ||
common | ||
docs | ||
include | ||
python | ||
tools | ||
web | ||
abi_checks.sh | ||
aclocal.m4 | ||
autogen.sh | ||
build_macros.m4 | ||
config.guess | ||
config.mk | ||
config.sub | ||
configure.ac | ||
install-sh | ||
libtdb.m4 | ||
Makefile.in | ||
pytdb.c | ||
python.mk | ||
release-script.sh | ||
rules.mk | ||
tdb.exports | ||
tdb.mk | ||
tdb.pc.in | ||
tdb.signatures |