1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/tdb
Volker Lendecke a6f1532d7f tdb: Do lock upgrades properly
When a process holds a readlock and wants to upgrade, this needs to be
reflected in the underlying lock. Without this, it is possible to cheat:
One process holds a readlock, and another process wants to write this
record. All the writer has to do is take a readonly lock on the key and
then do the store.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-04-10 20:44:21 +02:00
..
ABI tdb: version 1.3.12 2016-11-30 20:02:28 +01:00
common tdb: Do lock upgrades properly 2017-04-10 20:44:21 +02:00
docs Fix various spelling errors 2015-11-06 13:43:45 +01:00
include tdb: Add tdb_storev 2016-08-29 19:03:27 +02:00
man tdb/tools: add documentation for the tdbbackup -n option 2017-03-28 17:45:19 +02:00
python tdb: eliminate deprecation warnings in python tests 2016-02-16 19:58:39 +01:00
test lib:tdb: Remove use of strcpy in tdb test. 2016-03-22 04:38:24 +01:00
tools tdb: Fix format-nonliteral warning 2016-08-24 01:33:50 +02:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
_tdb_text.py pyldb: Add a text-based interface for Python 3 2015-07-21 19:04:15 +02:00
configure tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
doxy.config doc: Remove build/ from doxygen config or it will not work in brew. 2012-08-04 16:31:22 +02:00
Makefile tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
pytdb.c tdb python binding: raise KeyError(key) when the key doesn't exist 2015-07-21 19:04:15 +02:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript waf: disable-python - align tdb's wscript 2017-03-10 07:31:12 +01:00