summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
AgeCommit message (Expand)AuthorFilesLines
2004-01-13sync HEAD with recent changes in 3.0Gerald Carter1-2/+2
2003-11-05Minor comment updates ...Richard Sharpe1-2/+2
2003-10-09Changes to allow Samba3 to pass the Samba4 RAW-READ tests.Jeremy Allison1-4/+7
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-14/+18
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-3/+7
2003-05-22More fixes for debug log to catch logic error.Jeremy Allison1-1/+1
2003-04-04Fix for very subtle POSIX lock interaction race condition found byJeremy Allison1-8/+28
2003-02-27Fix to allow blocking lock notification to be done rapidly (no waitJeremy Allison1-2/+2
2003-02-24Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy().Andrew Bartlett1-1/+1
2003-02-10Use safe_strcpy() instead of pstrcpy() for malloced strings.Andrew Bartlett1-1/+3
2003-01-03Fix problem with "hide unreadable". stat file opens are baaack :-).Jeremy Allison1-2/+1
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison1-1/+3
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-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