1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/lib/tdb/test
Volker Lendecke 68559b787e tdb: Enhance lock tracking a bit
lock-tracking.c mirrors the in-kernel fcntl structures to detect
unexpected use of fcntl calls. During my mutex work I changed our fcntl
use so that we unlock the allrecord_lock in two pieces: The range covering
the hash locks and the range covering the data area for the individual
traverse record locks. Splitting locks is not covered by lock-tracking.c.

This patch extends lock-tracking.c with this little piece. It's still
far from complete to track the full range of fcntl semantics. It is not
strictly needed right now, but it does not hurt either.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-02-19 15:46:45 +01:00
..
external-agent.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
external-agent.h tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
jenkins-be-hash.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
jenkins-le-hash.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
lock-tracking.c tdb: Enhance lock tracking a bit 2013-02-19 15:46:45 +01:00
lock-tracking.h tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
logging.c tdb: wean CCAN-style unit tests off of tap. 2012-02-14 14:45:19 +10:30
logging.h tdb: wean CCAN-style unit tests off of tap. 2012-02-14 14:45:19 +10:30
old-nohash-be.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
old-nohash-le.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
run-3G-file.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-bad-tdb-header.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-check.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-corrupt.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
run-die-during-transaction.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
run-endian.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-incompatible.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-nested-transactions.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-nested-traverse.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
run-no-lock-during-traverse.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-oldhash.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-open-during-transaction.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
run-readonly-check.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-rescue-find_entry.c tdb: add tdb_rescue() 2012-10-04 09:04:19 +09:30
run-rescue.c tdb: add tdb_rescue() 2012-10-04 09:04:19 +09:30
run-rwlock-check.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-summary.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-transaction-expand.c lib/tdb: Fix format string errors found by -Werror=format in tdb tests 2012-07-30 14:25:10 +10:00
run-traverse-in-transaction.c tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
run-wronghash-fail.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run-zero-append.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
run.c tdb: don't use err.h in tests. 2012-06-22 09:22:28 +02:00
rwlock-be.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
rwlock-le.tdb tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
tap-interface.h tdb: finish weaning off err.h. 2012-06-26 10:22:03 +02:00
tap-to-subunit.h tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
tdb.corrupt tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30