summaryrefslogtreecommitdiff
path: root/source3/locking/brlock.c
AgeCommit message (Expand)AuthorFilesLines
2007-10-10r15060: The brlock code gets called a lot. Ensure we keep theJeremy Allison1-29/+13
2007-10-10r15026: Fix warning until POSIX locking finished.Jeremy Allison1-2/+1
2007-10-10r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison1-315/+985
2007-10-10r14763: Add a new tuning parameter, open files database hash size,Jeremy Allison1-2/+4
2007-10-10r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison1-5/+2
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-12/+12
2007-10-10r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunkHerb Lewis1-0/+3
2007-10-10r5634: Fix 64-bit overflow problems found by BlueArc torture tester.Jeremy Allison1-9/+0
2007-10-10r4108: As check_self is *always* False in every invokation, remove theJeremy Allison1-11/+6
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ...Jeremy Allison1-1/+1
2007-10-10r3050: Steal from Samba4 :-). Make us pass most of the new lock tests (except...Jeremy Allison1-17/+56
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