Function jail::jail_mount_bind_if_exists
source · pub fn jail_mount_bind_if_exists<P: AsRef<OsStr>>(
jail: &mut Minijail,
dirs: &[P]
) -> Result<()>
Expand description
Mirror-mount all the directories in dirs
into jail
on a best-effort basis.
This function will not return an error if any of the directories in dirs
is missing.