MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / enter_for_child

Method enter_for_child

crates/openshell-supervisor-process/src/process.rs:223–225  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

221 }
222
223 pub fn enter_for_child(&self) -> std::io::Result<()> {
224 set_mount_namespace(self.fd.as_raw_fd())
225 }
226}
227
228#[cfg(target_os = "linux")]

Callers 2

spawn_implMethod · 0.80
enter_netns_and_sandboxFunction · 0.80

Calls 1

set_mount_namespaceFunction · 0.85

Tested by

no test coverage detected