diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-11-04 23:09:57 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-11-04 23:09:57 +0000 |
commit | 240d5a9b1ce76f04a7c7e15791557763b2f1fd7e (patch) | |
tree | 13d68b1840b739aaaa64351fb83f58c68c26472e /usr.sbin/pwd_mkdb | |
parent | 247444670ef3b61c7bdb3fbb34b88c4a26c71aba (diff) | |
download | src-240d5a9b1ce76f04a7c7e15791557763b2f1fd7e.tar.gz src-240d5a9b1ce76f04a7c7e15791557763b2f1fd7e.zip |
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
Notes
Notes:
svn path=/head/; revision=137233
Diffstat (limited to 'usr.sbin/pwd_mkdb')
0 files changed, 0 insertions, 0 deletions