(path: &Path)
| 315 | |
| 316 | #[cfg(target_os = "linux")] |
| 317 | fn cstring_path(path: &Path) -> Result<CString> { |
| 318 | CString::new(path.as_os_str().as_bytes()) |
| 319 | .map_err(|_| miette::miette!("path contains an interior NUL byte: {}", path.display())) |
| 320 | } |
| 321 | |
| 322 | #[cfg(target_os = "linux")] |
| 323 | fn create_supervisor_identity_mount_namespace(target: &Path) -> Result<OwnedFd> { |
no outgoing calls
no test coverage detected