summaryrefslogtreecommitdiff
path: root/source3/locking/brlock.c
AgeCommit message (Expand)AuthorFilesLines
2007-10-10r3008: when checking for the existance of a lock we are only doing a singleAndrew Tridgell1-3/+0
2007-10-10r1011: fix bad merge (from a few months ago) and ensure that we always use td...Gerald Carter1-2/+2
2004-02-12merge from old APP_HEADGerald Carter1-2/+2
2003-10-09Changes to allow Samba3 to pass the Samba4 RAW-READ tests.Jeremy Allison1-2/+7
2003-04-04Fix for very subtle POSIX lock interaction race condition found byJeremy Allison1-1/+12
2003-02-27Fix to allow blocking lock notification to be done rapidly (no waitJeremy Allison1-6/+76
2003-02-22When checking is_locked() new WRITE locks conflict with existing READ locks evenJeremy Allison1-3/+10
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-6/+17
2002-03-10this attempts to handle the rather bizarre lock cache semantics inAndrew Tridgell1-0/+14
2002-03-05accept the 0/0 lock but don't treat it in any sort of special wayAndrew Tridgell1-1/+0
2002-01-30Removed version number from file header.Tim Potter1-2/+1
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-2/+0
2001-09-17move to SAFE_FREE()Simo Sorce1-8/+8
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-1/+1
2001-09-06use NTSTATUS not BOOL in do_lock()Andrew Tridgell1-9/+15
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-11/+60
2001-08-26Don't use CLEAR_IF_FIRST if opening read-only.Jeremy Allison1-1/+1
2001-08-24we now have all but the dreaded 0/0 lock workingAndrew Tridgell1-30/+67
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-2/+4
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
2001-06-30Fixed the first locking error (test #8 found by locktest code fromJeremy Allison1-3/+30
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
2001-05-23Stupid typo. Should be if (!tdb).Jeremy Allison1-1/+1
2001-05-22Defensive brlock and locking database cleaning code.Jeremy Allison1-6/+43
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-2/+0
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-13/+13
2000-11-17Fix from John Reilly for equivalence tests.Jeremy Allison1-1/+1
2000-06-13add some bracketsAndrew Tridgell1-1/+1
2000-05-10Using a structure for a tdb key can lead to insideous, hardHerb Lewis1-20/+21
2000-05-05Fix for uninitialized memory read in brlock code. brl_locktest now needsJeremy Allison1-1/+2
2000-05-03Fix based on Elrond's code to reduce the store size on removing dead records.Jeremy Allison1-0/+1
2000-05-03- clear dead locks at startupAndrew Tridgell1-2/+47
2000-05-03Fix for stacking locks in brlock and POSIX. Windows only allows a read lockJeremy Allison1-1/+1
2000-04-28Ok - this is the *third* implementation of this (third time's the charm :-).Jeremy Allison1-295/+1
2000-04-27Ok - this is more subtle than it looks :-).Jeremy Allison1-0/+2
2000-04-27Fixed subtle unlocking bug when a file is closed. We need to store theJeremy Allison1-10/+27
2000-04-25Added the hard code :-).Jeremy Allison1-27/+332
2000-02-041) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton1-10/+5
2000-01-16added code to allow traversal of the byte range lock databaseAndrew Tridgell1-2/+42
2000-01-14damn, Solaris already has a "enum lock_type"Andrew Tridgell1-4/+5
2000-01-14we now pass all byte range locking testsAndrew Tridgell1-2/+57
2000-01-13the bulk of the new byte range locking coodeAndrew Tridgell1-0/+275