Searched refs:PathToCString (Results 1 – 1 of 1) sorted by relevance
116 .ok_or_else(|| Error::PathToCString(self.to_path_buf()))?; in run_command()192 PathToCString(PathBuf), enumerator276 PathToCString(s) => write!(f, "failed to convert path into CString: {}", s.display()), in fmt()552 .ok_or_else(|| Error::PathToCString(path.as_ref().to_owned()))?; in parse_seccomp_filters()554 CString::new(pathstring).map_err(|_| Error::PathToCString(path.as_ref().to_owned()))?; in parse_seccomp_filters()681 .ok_or_else(|| Error::PathToCString(dir.as_ref().to_owned()))?; in enter_chroot()683 CString::new(pathstring).map_err(|_| Error::PathToCString(dir.as_ref().to_owned()))?; in enter_chroot()695 .ok_or_else(|| Error::PathToCString(dir.as_ref().to_owned()))?; in enter_pivot_root()697 CString::new(pathstring).map_err(|_| Error::PathToCString(dir.as_ref().to_owned()))?; in enter_pivot_root()728 .ok_or_else(|| Error::PathToCString(src.as_ref().to_owned()))?; in mount_with_data()[all …]