1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-08 08:58:27 +03:00

journal-remote: allow AF_VSOCK and AF_UNIX for --listen-raw

This allows log messages forwarded over an AF_UNIX or AF_VSOCK socket by
journald to be received by systemd-journal-remote.
This commit is contained in:
Sam Leonard 2024-01-22 16:12:39 +00:00
parent f31cff849d
commit b4d4ebe850
No known key found for this signature in database
GPG Key ID: 96850F0978CE78F0

View File

@ -516,7 +516,9 @@ static int accept_connection(
switch (socket_address_family(addr)) {
case AF_INET:
case AF_INET6: {
case AF_INET6:
case AF_VSOCK:
case AF_UNIX: {
_cleanup_free_ char *a = NULL;
char *b;