freebsd-src/usr.sbin/syslogd
Gleb Smirnoff 240d5a9b1c Protect against local flooder of /var/run/log. Do not loop forever in
syslog(3) if we are a priveleged program (sshd, su, etc.).

- Make syslogd open an additional socket /var/run/logpriv, with 0600
  permissions.
- In libc, try to use this socket.
- Do not loop forever if we are using this socket (partial backout of 1.31)

Reviewed by:	dwmalone, Andrea Campi <andrea webcom it>
Approved by:	julian (mentor)
MFC after:	1 month
2004-11-04 23:09:57 +00:00
..
Makefile Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
pathnames.h Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
syslog.conf.5 Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
syslogd.8 Protect against local flooder of /var/run/log. Do not loop forever in 2004-11-04 23:09:57 +00:00
syslogd.c Protect against local flooder of /var/run/log. Do not loop forever in 2004-11-04 23:09:57 +00:00