diff options
author | glebius <glebius@FreeBSD.org> | 2004-11-04 23:09:57 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-11-04 23:09:57 +0000 |
commit | dfc6a366e7b882f80c120f4c99900e60c89ca279 (patch) | |
tree | 13d68b1840b739aaaa64351fb83f58c68c26472e /lib/libarchive/archive_read_extract.c | |
parent | 76ec624d7493ab72c8ed404fad83c31125ee70f8 (diff) | |
download | FreeBSD-src-dfc6a366e7b882f80c120f4c99900e60c89ca279.zip FreeBSD-src-dfc6a366e7b882f80c120f4c99900e60c89ca279.tar.gz |
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
Diffstat (limited to 'lib/libarchive/archive_read_extract.c')
0 files changed, 0 insertions, 0 deletions