[Bug 298134] usr.sbin/syslogd: add ability to write to unix domain sockets

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Sep 2026 13:42:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298134

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Why exactly do we need a separate syntax and filed type for sockets?  That is,
why can't the user just configure a unix socket as a log destination without
specifying it as a unix socket?  I don't object to the current implementation
but would like to understand the rationale a bit better.

Why does casper return a dirfd to the sandboxed process instead of just
returning a connected socket?

I think F_SOCK should be F_UNIXSOCK or similar.  Otherwise it sounds like
F_SOCK might be used for forwarding messages as well.

BTW, for reviews it is easier to use phabricator.  The change to make TypeNames
use designated array initializers should be its own patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.