Date: Thu, 4 Nov 2004 23:09:57 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h src/lib/libc/gen syslog.c Message-ID: <200411042309.iA4N9v06043345@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2004-11-04 23:09:57 UTC FreeBSD src repository Modified files: usr.sbin/syslogd syslogd.8 syslogd.c sys/sys syslog.h lib/libc/gen syslog.c Log: 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 Revision Changes Path 1.32 +41 -13 src/lib/libc/gen/syslog.c 1.25 +1 -0 src/sys/sys/syslog.h 1.54 +7 -2 src/usr.sbin/syslogd/syslogd.8 1.133 +7 -3 src/usr.sbin/syslogd/syslogd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411042309.iA4N9v06043345>