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

Method ns_fd

crates/openshell-supervisor-process/src/netns/mod.rs:243–245  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

241 /// Get the namespace file descriptor for use with clone/unshare.
242 #[must_use]
243 pub const fn ns_fd(&self) -> Option<RawFd> {
244 self.ns_fd
245 }
246
247 /// Install nftables rules for bypass detection inside the namespace.
248 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected