Previously,If syslogd is in secure mode, all INET sockets are shutdown. syslogd would listen on every socket and call shutdown() ifDo not
secure mode was enabledadd these to the kqueue because we can't read from them.
These sockets had their sl_recv actions set to NULL,Also, remove the listen() call when setting up sockets. so they could notSyslogd
be read. If they had pending data, their EVFILT_READ kevent filters would
infinitely trigger, thrashing the kevent() loop.
To fix thiexclusively uses SOCK_DGRAM sockets, listen() should not beso called if syslogding listen() is in secure modeuseless.