1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/ntdb
Rusty Russell 01ec4a72de ntdb: make database read-only during ntdb_parse() callback.
Since we have a readlock, any write will grab a write lock: if it happens
to be on the same bucket, we'll fail.

For that reason, enforce read-only so every write operation fails
(even for NTDB_NOLOCK or NTDB_INTERNAL dbs), and document it!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-22 07:35:17 +02:00
..
ABI ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
doc ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00
test ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00
tools ntdb: add -h arg to ntdbrestore 2012-06-19 05:38:07 +02:00
check.c ntdb: remove hash table trees. 2012-06-19 05:38:07 +02:00
configure TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
free.c ntdb: enhancement to allow direct access to the ntdb map during expansion. 2012-06-22 07:35:17 +02:00
hash.c ntdb: optimize ntdb_fetch. 2012-06-19 05:38:07 +02:00
io.c ntdb: allow direct access for NTDB_INTERNAL dbs during expansion. 2012-06-22 07:35:17 +02:00
libntdb.m4 ntdb: add autoconf support. 2012-06-19 07:31:06 +02:00
LICENSE TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
lock.c ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00
Makefile TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
ntdb.c ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00
ntdb.h ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00
ntdb.pc.in TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
open.c ntdb: enhancement to allow direct access to the ntdb map during expansion. 2012-06-22 07:35:17 +02:00
private.h ntdb: enhancement to allow direct access to the ntdb map during expansion. 2012-06-22 07:35:17 +02:00
pyntdb.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
summary.c ntdb: remove hash table trees. 2012-06-19 05:38:07 +02:00
transaction.c ntdb: special accessor functions for read/write of an offset. 2012-06-19 05:38:07 +02:00
traverse.c ntdb: optimize ntdb_fetch. 2012-06-19 05:38:07 +02:00
wscript ntdb: make database read-only during ntdb_parse() callback. 2012-06-22 07:35:17 +02:00