freebsd-dev/usr.sbin/syslogd
Jilles Tjoelker f35bb1a01e syslogd: Use closefrom() instead of getdtablesize()/close() loop.
When syslogd forks a process for '|' destinations, it closes all file
descriptors greater than 2.

Use closefrom() for this instead of a getdtablesize()/close() loop because
it is both faster and avoids leaving file descriptors open because the limit
was lowered after they were opened.

MFC after:	1 week
2013-04-27 13:26:35 +00:00
..
Makefile This isn't WARNS=6 safe. It fails to build on mips. Retore old 2010-08-08 02:45:14 +00:00
pathnames.h
syslog.conf.5 Add documentation for IPv6 support 2012-09-12 16:58:42 +00:00
syslogd.8 Minor spelling fixes. 2012-06-03 11:29:48 +00:00
syslogd.c syslogd: Use closefrom() instead of getdtablesize()/close() loop. 2013-04-27 13:26:35 +00:00