pub fn open_regular_for_read(path: &Path) -> Result<File, RestrictedOpenError>Expand description
Open a regular file for reading, refusing magic links, procfs and sysfs.
pub fn open_regular_for_read(path: &Path) -> Result<File, RestrictedOpenError>Open a regular file for reading, refusing magic links, procfs and sysfs.