index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lib
/
libutil
/
pidfile.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
libutil: Use O_CLOEXEC for internal file descriptors from open().
jilles
2013-08-28
1
-1
/
+1
*
When pidptr was passed as NULL to pidfile_open(3), we were returning
pjd
2013-03-14
1
-13
/
+18
*
Set the O_CLOEXEC flag when opening the pidfile to avoid leaking the
ghelmer
2012-02-20
1
-1
/
+1
*
Using the O_CLOEXEC flag on open(2) caused the pidfile lock to be lost
ghelmer
2012-02-06
1
-1
/
+1
*
Move struct pidfh definition into pidfile.c, and leave a forward declaration
ghelmer
2012-01-12
1
-0
/
+7
*
jilles pointed out that O_CLOEXEC could be used in the open(2) flags
ghelmer
2012-01-11
1
-14
/
+1
*
Constify arguments.
pjd
2012-01-11
1
-2
/
+2
*
Style fixes courtesy of pjd.
ghelmer
2012-01-10
1
-0
/
+1
*
Add pidfile_fileno() to obtain the file descriptor for an open
ghelmer
2012-01-10
1
-0
/
+10
*
Set the FD_CLOEXEC flag on the open pidfile file descriptor.
ghelmer
2012-01-10
1
-0
/
+14
*
In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)
pjd
2011-10-16
1
-12
/
+12
*
There is no point in releasing a lock on a file which we've unlinked and
des
2008-10-20
1
-4
/
+0
*
When pidfile is already locked and has zero length, do not return
kib
2007-10-12
1
-1
/
+15
*
Back out previous commit until I figure out why my regression test fails.
des
2007-08-03
1
-10
/
+4
*
Use fcntl(2)-style locks instead of less-portable flock(2)-style locks.
des
2007-08-03
1
-4
/
+10
*
strlcpy() may be faster than snprintf(), but it is less portable, and this
des
2007-05-11
1
-8
/
+8
*
Use flopen(3).
des
2007-05-10
1
-2
/
+2
*
Remove some unused variables
brian
2006-06-23
1
-2
/
+0
*
use pwrite to always write at the begining of the file.. If multiple calls
jmg
2006-04-11
1
-1
/
+1
*
Add a family of functions for reliable pidfiles handling.
pjd
2005-08-24
1
-0
/
+246