summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
AgeCommit message (Expand)AuthorFilesLines
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison1-1/+3
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-1/+1
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-3/+4
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-3/+4
2002-03-15if our lock spin code fails then return the first error code, not theAndrew Tridgell1-4/+11
2002-03-14Use sys_usleep not usleep.Jeremy Allison1-1/+1
2002-03-13Ensure we attempt to lock at least once. Only sleep if time param set.Jeremy Allison1-1/+5
2002-03-13include/smb_macros.h: Don't round up an allocation if the size is zero.Jeremy Allison1-1/+25
2002-03-10this attempts to handle the rather bizarre lock cache semantics inAndrew Tridgell1-1/+1
2002-01-30Removed version number from file header.Tim Potter1-2/+1
2002-01-08Debugs that print out a share mode table in debug level 10. This codeJeremy Allison1-4/+46
2002-01-05Added DEBUG in set_share_mode to track down logic insanity.Jeremy Allison1-0/+8
2001-12-18Removed unused function, delete_fn()Tim Potter1-57/+0
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