summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
AgeCommit message (Expand)AuthorFilesLines
2001-11-30After conversations with Andrew, improved the robustness of theJeremy Allison1-26/+53
2001-11-21Don't scan locking db on closedown.Jeremy Allison1-0/+4
2001-10-20Move from timestamp to gen count file id's for finding oplocked filesJeremy Allison1-6/+19
2001-10-19Ensure we mask off deny modes correctly on being set (this shouldn't haveJeremy Allison1-2/+2
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-1/+0
2001-09-19Removed test code that got added by accident.Jeremy Allison1-22/+0
2001-09-18Correct fix for unaligned memcpy - malloc'ed memory incremented by sizeof(str...Jeremy Allison1-18/+20
2001-09-18Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison1-1/+1
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-12/+9
2001-09-052nd DELETE_ON_CLOSE_FLAG fix ...Andrew Tridgell1-3/+3
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ...Andrew Tridgell1-6/+6
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order to...Andrew Tridgell1-6/+6
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-22/+13
2001-08-240 byte lock ranges ARE validAndrew Tridgell1-6/+3
2001-08-22Tidyup fixes for fcntl spin problem.Jeremy Allison1-11/+30
2001-08-22Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin.Jeremy Allison1-17/+35
2001-08-21Missed uninitialized variable return for del_share_mode().Jeremy Allison1-1/+1
2001-08-21This is Jeremy pretending to be Volker, 'cos theVolker Lendecke1-64/+136
2001-08-20Ensure we are very explicit about what we're comparing whenJeremy Allison1-4/+4
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
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