summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
AgeCommit message (Expand)AuthorFilesLines
2001-07-02Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison1-6/+6
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison1-2/+2
2001-06-30Fixed the first locking error (test #8 found by locktest code fromJeremy Allison1-3/+15
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
2001-05-22Defensive brlock and locking database cleaning code.Jeremy Allison1-2/+81
2001-03-30This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison1-32/+39
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-7/+4
2000-12-06tdb_unlockchain() no longer returns a valueTim Potter1-4/+4
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-4/+4
2000-09-11the first cut of the internal messaging system.Andrew Tridgell1-1/+1
2000-06-13allow posix locking database to be opened read-only (for smbstatus)Andrew Tridgell1-1/+1
2000-05-10Using a structure for a tdb key can lead to insideous, hardHerb Lewis1-0/+2
2000-05-05Fix for uninitialized memory read in brlock code. brl_locktest now needsJeremy Allison1-1/+1
2000-05-02Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison1-8/+8
2000-04-28Ok - this is the *third* implementation of this (third time's the charm :-).Jeremy Allison1-628/+13
2000-04-28Forgot to close when "posix locking" is set to False.Jeremy Allison1-2/+5
2000-04-28Added optimization where we are single opener (don't free POSIX locks).Jeremy Allison1-1/+21
2000-04-28Made changes suggested by Andrew review.Jeremy Allison1-37/+52
2000-04-27Ok - this is more subtle than it looks :-).Jeremy Allison1-7/+13
2000-04-27Fixed subtle unlocking bug when a file is closed. We need to store theJeremy Allison1-6/+5
2000-04-27Did the rewrite Andrew wanted where all knowledge of POSIX locking isJeremy Allison1-5/+179
2000-04-27Fixed crash bugs Andrew pointed out with LOCK4 smbtortureJeremy Allison1-10/+7
2000-04-25Added the hard code :-).Jeremy Allison1-50/+121
2000-04-24Added the code that keeps fd's open across a close if there are other fsp'sJeremy Allison1-36/+23
2000-04-23fixed a locking database bug - it was actually harmless except thatAndrew Tridgell1-2/+10
2000-04-22This is a *big* checkin that may break some things, but implements theJeremy Allison1-1/+2
2000-04-18locking/locking.c: Fixed placeholder code for POSIX locking.Jeremy Allison1-17/+49
2000-04-13Typo - missing '}'.Jeremy Allison1-0/+1
2000-04-12Removed "ole locking compat" parameter (no longer used).Jeremy Allison1-18/+113
2000-04-12Implmented mapping of lock offset/count from 64 bit MS rangesJeremy Allison1-13/+157
2000-04-12Code to map tdb locks onto POSIX. Mainly placeholder code at the moment,Jeremy Allison1-9/+157
2000-04-11include/byteorder.h: ALIGN4/ALIGN2 macros.Jeremy Allison1-3/+3
2000-04-10the first of a bunch of changes to code with getting rid of the fd_ptrAndrew Tridgell1-6/+23
2000-02-07Fixed compile warning in locking.c:traverse_fn()Tim Potter1-1/+2
2000-02-041) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton1-5/+5
2000-01-16added code to allow traversal of the byte range lock databaseAndrew Tridgell1-1/+1
2000-01-14damn, Solaris already has a "enum lock_type"Andrew Tridgell1-2/+2
2000-01-14we now pass all byte range locking testsAndrew Tridgell1-2/+15
2000-01-14some more work on the byte range lockingAndrew Tridgell1-6/+8
2000-01-13the bulk of the new byte range locking coodeAndrew Tridgell1-45/+21
2000-01-03added the unexpected packet database (unexpected.tdb)Andrew Tridgell1-1/+1
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell1-1/+1
1999-12-22when no shares are returned the *shares pointer must be set to nullAndrew Tridgell1-0/+2
1999-12-21converted all our existing shared memory code to use a tdb databaseAndrew Tridgell1-128/+295
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-22/+62
1999-04-04Use VFS operations for file I/O.Tim Potter1-4/+5
1998-10-31don't core dump in smbstatus if we can't open the shmem systemAndrew Tridgell1-0/+1
1998-10-23Reasonably large change to give us *exactly* correct NT delete on close seman...Jeremy Allison1-2/+43
1998-09-05ahh, the joy of deleting large chunks of code that someone else hasAndrew Tridgell1-10/+0
1998-09-04More 64 bit stuff - now the fcntl locks are 64 bit clean.Jeremy Allison1-16/+25