summaryrefslogtreecommitdiff
path: root/source3/locking
AgeCommit message (Expand)AuthorFilesLines
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-12/+17
2002-09-11Fix missing braces around push lock call.Jeremy Allison1-1/+1
2002-05-21Failing to find an entry when doing mod_share_entry isn't a errorJeremy Allison1-3/+4
2002-04-17Fix unused warnings with deleted code.Jeremy Allison1-4/+23
2002-04-17disabled the traversal of the brlock database at startup andAndrew Tridgell1-8/+0
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 Tridgell2-1/+15
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 Potter3-6/+3
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 Potter3-4/+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 Sorce3-39/+31
2001-09-06Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.Jeremy Allison1-94/+21
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2-2/+2
2001-09-06use NTSTATUS not BOOL in do_lock()Andrew Tridgell2-21/+24
2001-09-052nd DELETE_ON_CLOSE_FLAG fix ...Andrew Tridgell1-3/+3
2001-09-05NFS v2 can return ENOLCK when greater than 31 bit offsets are used.Jeremy Allison1-2/+2
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 Tridgell2-33/+73
2001-08-26Ignore locks of length zero as they mean different things in Win32Jeremy Allison1-5/+18
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-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-08-13Add printing of errno when POSIX lock requests fail.Jeremy Allison1-3/+3
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2-6/+13
2001-07-30Added "use mmap" for HPUX.Jeremy Allison2-2/+2
2001-07-02Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison2-7/+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 Allison2-6/+45
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell3-4/+4