freebsd-nq/usr.sbin/syslogd
Peter Wemm a30a31bb3f put on my flame resistant suit and tempt fate by attempting to fix some of
the races in my previous commits here, and fix some other problems with
syslogd as well.

- if the child process exited early (eg: could not bind to the socket),
  the boot process would hang for 30 seconds.  The parent was not noticing
  that the child had exited.  (my fault)
- when writing to tty devices, instead of treating them like files that
  need \r\n instead of \n, actually use ttymsg() which has specific code
  intended to write to potentially blocking ttys safely.  I had a machine
  lock up last night because /dev/console on a serial port got flow control
  blocked.  Setting comcontrol drainwait fixed everything but syslogd which
  was going into a spin trying to write to the console and completely
  ignoreing everything else.
- fix a couple of nonsensical bits of code while here..  eg: wait3 takes
  a pointer to an int.  There is no sense in declaring it as 'union wait',
  then casting the pointer to (int *), then forgetting about it.
1996-11-18 21:48:29 +00:00
..
Makefile Get rid of update. Make man page installation work with our scheme 1994-08-05 16:31:05 +00:00
pathnames.h BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
syslog.conf.5 Add info field. 1996-09-27 20:31:26 +00:00
syslogd.8 Back out the entire change from rev 1.11 of syslogd.c. It was bogus. 1996-10-28 08:25:13 +00:00
syslogd.c put on my flame resistant suit and tempt fate by attempting to fix some of 1996-11-18 21:48:29 +00:00