sysklogd/src
Joachim Nilsson 54edca09d9 syslogd: Close open UNIX and inet sockets on SIGTERM
When creating Inet sockets we may get multiple struct addrinfo records.
With this patch we support up to 16 records per Internet peer.  When
closing we iterate over all peers and all records.

Refactor socket_close() to clean up any lingering socket path when
closing UNIX socket.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-13 19:11:34 +01:00
..
.gitignore Mark strlcat() and strlcpy() as weak functions, for libsyslog 2019-11-04 11:04:13 +01:00
compat.h Mark strlcat() and strlcpy() as weak functions, for libsyslog 2019-11-04 11:04:13 +01:00
klogd.c Drop --with-syslogd-pidfile from configure, use -P option to syslogd 2019-11-13 11:52:15 +01:00
klogd.h Add LOG_WARN alias 2019-11-06 13:45:21 +01:00
ksym_mod.c Add LOG_WARN alias 2019-11-06 13:45:21 +01:00
ksym.c Add LOG_WARN alias 2019-11-06 13:45:21 +01:00
ksyms.h Update GPL license headers, wrong address for FSF 2019-11-03 17:21:06 +01:00
libsyslog.pc.in Build libsyslog.la and install it with syslog.h and libsyslog.pc 2019-10-31 08:39:09 +01:00
logger.c logger: Sort options in usage text alphabetically 2019-11-13 14:49:05 +01:00
Makefile.am syslogd: Add FreeBSD -k option to allow LOG_KERNEL facility messages 2019-11-13 16:44:51 +01:00
module.h Update GPL license headers, wrong address for FSF 2019-11-03 17:21:06 +01:00
modutils.patch Relocate files to man/ and src/ and change to GNU configure & build 2018-08-02 22:52:40 +02:00
oops.c Update GPL license headers, wrong address for FSF 2019-11-03 17:21:06 +01:00
queue.h Add support for include /etc/syslog.d/*.conf in /etc/syslog.conf 2019-11-02 11:46:29 +01:00
socket.c syslogd: Close open UNIX and inet sockets on SIGTERM 2019-11-13 19:11:34 +01:00
socket.h Graft struct addrinfo support on top of new socket API 2019-11-12 13:28:01 +01:00
syslog.c syslogd: Add FreeBSD -k option to allow LOG_KERNEL facility messages 2019-11-13 16:44:51 +01:00
syslog.h Minor, whitespace formatting 2019-11-06 13:45:38 +01:00
syslogd.c syslogd: Close open UNIX and inet sockets on SIGTERM 2019-11-13 19:11:34 +01:00
syslogd.h syslogd: Close open UNIX and inet sockets on SIGTERM 2019-11-13 19:11:34 +01:00