syslogd: Refactor internals to use new socket API
This patch is inspired, in part, by FreeBSD syslogd but now diverges onto its own path. Special handling for AF_UNIX sockets are required on Linux, which unlike BSD cannot use getaddrinfo() on UNIX sockets. - Rip out old funix[] and finet support - Add new concept of peers - Linked list of peers can be > 20 - Temporarily open up to accept all remote conns - Remove old logerror(), replaced with new log macros Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -155,7 +155,7 @@ options are specified, the remaining pathnames are treated as additional
|
||||
log sockets. This might be needed when running applications in
|
||||
containers or a
|
||||
.Xr chroot 8
|
||||
environment. In total 20 UNIX domain sockets are supported.
|
||||
environment.
|
||||
.It Fl R Ar size[:count]
|
||||
Enable built-in support for log rotation of files listed in
|
||||
.Pa /etc/syslog.conf .
|
||||
|
Reference in New Issue
Block a user