summaryrefslogtreecommitdiffstats
path: root/source/lib/pidfile.c
Commit message (Collapse)AuthorAgeFilesLines
* Ooops. sys_open() always takes 3 args. open() can take 2....Jeremy Allison1998-12-061-1/+1
| | | | Jeremy.
* Added RELIANTUNIX define for specific header file order includes for largeJeremy Allison1998-12-061-1/+1
| | | | | | | file support. Based on a patch from "Andrej Borsenkow" <borsenkow.msk@sni.de>. lib/pidfile.c: Changed open() to sys_open(). Jeremy.
* Adding Andrew's pidfile fix to 2.0.Jeremy Allison1998-12-061-16/+33
| | | | Jeremy.
* Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.Jeremy Allison1998-11-171-2/+2
| | | | | | Needed as in the 64 bit file spec new open types are needed on many OS's to be able to seek past 32bits. Jeremy.
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-281-2/+2
| | | | | | | | | | Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
* More 64 bit stuff - now the fcntl locks are 64 bit clean.Jeremy Allison1998-09-041-1/+1
| | | | | | Nearly at the stage where I can expose the 64-bit-ness to the NT clients.... Jeremy.
* Fix for pidfile startup message.Jeremy Allison1998-07-021-35/+34
| | | | Jeremy.
* This is a security audit change of the main source.Jeremy Allison1998-05-121-1/+1
| | | | | | | | | | | | | | | | | | It removed all ocurrences of the following functions : sprintf strcpy strcat The replacements are slprintf, safe_strcpy and safe_strcat. It should not be possible to use code in Samba that uses sprintf, strcpy or strcat, only the safe_equivalents. Once Andrew has fixed the slprintf implementation then this code will be moved back to the 1.9.18 code stream. Jeremy.
* changed to use slprintf() instead of sprintf() just aboutAndrew Tridgell1998-05-111-2/+2
| | | | | | | everywhere. I've implemented slprintf() as a bounds checked sprintf() using mprotect() and a non-writeable page. This should prevent any sprintf based security holes.
* - added the ability to kill off individual connections from SWAT (fromAndrew Tridgell1998-03-151-2/+10
| | | | | | | | | the status page) - split the claim_connection() code into its own file - fixed the claim_connection() code to lock the file when manipulating it - always claim a null connection at startup - fixed a bug in the pidfile code
* new files to support starting/stopping the serverAndrew Tridgell1998-03-141-0/+88