summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pidfile.c
Commit message (Expand)AuthorAgeFilesLines
* libutil: Use O_CLOEXEC for internal file descriptors from open().jilles2013-08-281-1/+1
* When pidptr was passed as NULL to pidfile_open(3), we were returningpjd2013-03-141-13/+18
* Set the O_CLOEXEC flag when opening the pidfile to avoid leaking theghelmer2012-02-201-1/+1
* Using the O_CLOEXEC flag on open(2) caused the pidfile lock to be lostghelmer2012-02-061-1/+1
* Move struct pidfh definition into pidfile.c, and leave a forward declarationghelmer2012-01-121-0/+7
* jilles pointed out that O_CLOEXEC could be used in the open(2) flagsghelmer2012-01-111-14/+1
* Constify arguments.pjd2012-01-111-2/+2
* Style fixes courtesy of pjd.ghelmer2012-01-101-0/+1
* Add pidfile_fileno() to obtain the file descriptor for an openghelmer2012-01-101-0/+10
* Set the FD_CLOEXEC flag on the open pidfile file descriptor.ghelmer2012-01-101-0/+14
* In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)pjd2011-10-161-12/+12
* There is no point in releasing a lock on a file which we've unlinked anddes2008-10-201-4/+0
* When pidfile is already locked and has zero length, do not returnkib2007-10-121-1/+15
* Back out previous commit until I figure out why my regression test fails.des2007-08-031-10/+4
* Use fcntl(2)-style locks instead of less-portable flock(2)-style locks.des2007-08-031-4/+10
* strlcpy() may be faster than snprintf(), but it is less portable, and thisdes2007-05-111-8/+8
* Use flopen(3).des2007-05-101-2/+2
* Remove some unused variablesbrian2006-06-231-2/+0
* use pwrite to always write at the begining of the file.. If multiple callsjmg2006-04-111-1/+1
* Add a family of functions for reliable pidfiles handling.pjd2005-08-241-0/+246
OpenPOWER on IntegriCloud