pub fn bind_plugin_socket(
path: impl AsRef<Path>,
mode: u32,
) -> Result<UnixListener>Expand description
Bind a socket on the plugin-reachable plane: the same hygiene as
bind_command_socket, owned by PLUGIN_GROUP so a plugin’s unit can
connect. There is no peer check here, so it is only for surfaces a plugin
may legitimately reach: the per-plugin sockets, where the server gates every
request on the plugin’s own capability token, and the log ingest sink, which
only accepts log frames. Never use it for an agent command socket.