Function cap_primitives::fs::open_ambient
source · pub fn open_ambient(
path: &Path,
options: &OpenOptions,
ambient_authority: AmbientAuthority,
) -> Result<File>
Expand description
Open a file named by a bare path, using the host process’ ambient authority.
§Ambient Authority
This function is not sandboxed and may trivially access any path that the host process has access to.