freebsd-skq/lib/libutil
kib 6a0967dff6 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
_secure_path.c
auth.3
auth.c
auth.conf.5
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
fparseln.c
humanize_number.3 Adjust history. 2007-09-28 15:31:44 +00:00
humanize_number.c
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_auth.3
login_auth.c
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
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
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
login_times.c Restore use of strncpy(), as there is later unconditional termination 2006-01-16 11:54:07 +00:00
login_tty.3
login_tty.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
login.3
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
logout.3
logout.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00
logwtmp.3
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
property.c Restore the previous state after a FILL operation in properties_read() 2005-11-28 16:30:16 +00:00
pty.3
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_sa.3
realhostname.3
realhostname.c NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
stub.c
trimdomain.3
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
uucplock.c Remove California Regent's clause 3, per letter 2007-01-09 01:02:06 +00:00