pub async fn serve_mount_uds(
mount: Arc<dyn Mount>,
subject: Subject,
decider: Arc<dyn AccessDecider>,
monitor: Option<Arc<ReferenceMonitor>>,
path: impl AsRef<Path>,
) -> Result<()>Expand description
Bind a Unix domain socket at path and serve mount (scoped to subject)
as its 9P2000.L root until the socket errors or is closed.
Convenience wrapper over Translator::from_mount + Translator::serve_uds
— the #506 one-call entry point a supervisor uses to expose a tenant’s
Subject-scoped export to a native Wanix p9kit.ClientFS client.