Skip to main content

require_fuse_mount_capability

Function require_fuse_mount_capability 

Source
pub fn require_fuse_mount_capability(backend_type: &str) -> Result<()>
Expand description

Fail-closed gate for Model B (#715): assert backend_type advertises the mounts_fuse_vfs capability before a caller FUSE-mounts the composed tenant VFS as that backend’s root.

Parallels resolve_backend’s fail-closed contract: an unknown backend, or a registered one that does not advertise the capability, errors rather than proceeding — we never POSIX-root a workload in a namespace a backend was not declared able to mount, and never silently substitute a different transport.