freebsd-nq/usr.sbin/syslogd
Bryan Drewery 9470af395f syslogd: Stop trying to send remote messages through special sockets
Specifically this was causing the /dev/klog fd and the signal pipe
handling fd to get a sendmsg(2) called on them and always returned
[ENOTSOCK].

r310350 combined these sockets into the main socket list and properly
skipped AF_UNSPEC at the sendmsg(2) call but later in r344739 it was
broken such that these special sockets were no longer excluded since
the AF_UNSPEC check specifically excluded these special sockets. Only
these special sockets have sl_sa = NULL. The sl_family checks should
be redundant now but are left in case of future changes so the intent
is clearer.

MFC after:	2 weeks
2020-11-07 17:18:44 +00:00
..
ftp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
lpr.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
Makefile Remove trailing slash in pathname so that valid METALOG is created in the 2018-08-25 20:19:16 +00:00
Makefile.depend
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ppp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
syslog.conf log daemon.info to /var/log/daemon.log by default 2019-09-17 20:03:20 +00:00
syslog.conf.5 Fix typo. 2020-03-26 12:00:26 +00:00
syslogd.8 Document that syslogd -v has no effect when RFC 5424 mode is enabled. 2018-07-02 11:02:27 +00:00
syslogd.c syslogd: Stop trying to send remote messages through special sockets 2020-11-07 17:18:44 +00:00