opnsense-src/lib/libutil
Konstantin Belousov fefc6803cf When pidfile is already locked and has zero length, do not return
success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep
up to three times for 5 ms while waiting for pidfile to be written.

mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated,
that would result in the SIGHUP delivered to the mount' process group
instead of the mountd.

Found and analyzed by:	Peter Holm
Tested by:	Peter Holm, kris
Reviewed by:	pjd
MFC after:	1 week
2007-10-12 10:38:05 +00:00
..
_secure_path.3 Sort sections. 2005-01-20 09:17:07 +00:00
_secure_path.c Grammar in a comment. 2004-12-18 12:31:12 +00:00
auth.3 Sort sections. 2005-01-20 09:17:07 +00:00
auth.c Tidy up. Sort headers. 2003-06-14 18:42:37 +00:00
auth.conf.5 Reflect the reality; only crypt(3) uses /etc/auth.conf 2005-01-21 12:07:46 +00:00
expand_number.3 Adjust history. 2007-09-28 15:31:44 +00:00
expand_number.c - Fix strange for loop. 2007-09-05 14:27:13 +00:00
flopen.3 Adjust history. 2007-09-28 15:31:44 +00:00
flopen.c Back out previous commit until I figure out why my regression test fails. 2007-08-03 09:20:28 +00:00
fparseln.3 Scheduled mdoc(7) sweep. 2005-01-11 20:50:51 +00:00
fparseln.c ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. 2003-10-18 10:04:16 +00:00
humanize_number.3 Adjust history. 2007-09-28 15:31:44 +00:00
humanize_number.c Take the lastest fixes from NetBSD. 2004-09-25 14:11:34 +00:00
kld.3 Adjust history. 2007-09-28 15:31:44 +00:00
kld.c - Add include for libutil.h and string.h for prototype. 2006-05-25 04:01:04 +00:00
libutil.h Implement expand_number(3), which is the opposite of humanize_number(3), ie. 2007-09-01 06:19:11 +00:00
login.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
login.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
login.conf.5 Fix markup in previous revision. 2006-10-10 08:15:08 +00:00
login_auth.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_auth.c Tidy up. Sort headers. 2003-06-14 18:42:37 +00:00
login_cap.3 Document the quirks of ~/.login_conf and LOGIN_MECLASS. 2007-06-14 09:33:37 +00:00
login_cap.c Update some comments, mostly regarding LOGIN_MECLASS and ~/.login_conf. 2007-06-14 06:42:49 +00:00
login_cap.h ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. 2003-10-18 10:04:16 +00:00
login_class.3 o Typo: ownship -> ownership. 2006-06-17 07:25:58 +00:00
login_class.c Fix one kind of style(9) bug and a typo in a comment. 2007-05-01 18:50:33 +00:00
login_crypt.c Const poisoning. 2002-04-08 11:04:56 +00:00
login_ok.3 Fix a typo: "the give login class" to "the given login class." 2006-11-05 19:00:08 +00:00
login_ok.c Fix typo in comment. 2006-01-16 00:28:11 +00:00
login_times.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
login_times.c Restore use of strncpy(), as there is later unconditional termination 2006-01-16 11:54:07 +00:00
login_tty.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
login_tty.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
logout.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
logout.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
logwtmp.3 Fix the phrase about "both files", which must be left 2001-10-11 11:02:50 +00:00
logwtmp.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
Makefile Implement expand_number(3), which is the opposite of humanize_number(3), ie. 2007-09-01 06:19:11 +00:00
pidfile.3 When pidfile is already locked and has zero length, do not return 2007-10-12 10:38:05 +00:00
pidfile.c When pidfile is already locked and has zero length, do not return 2007-10-12 10:38:05 +00:00
property.3 Sort sections. 2005-01-20 09:17:07 +00:00
property.c Restore the previous state after a FILL operation in properties_read() 2005-11-28 16:30:16 +00:00
pty.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
pty.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
pw_util.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
realhostname.3 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
realhostname.c NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
realhostname_sa.3 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
stub.c ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. 2003-10-18 10:04:16 +00:00
trimdomain.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
trimdomain.c When removing the local domain, only do so when the result will be a 2005-10-05 04:42:20 +00:00
uucplock.3 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
uucplock.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00