cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h src/lib/libc/gen syslog.c

Gleb Smirnoff glebius at FreeBSD.org
Thu Nov 4 23:09:58 GMT 2004


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


More information about the cvs-src mailing list