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

Method new

crates/openshell-driver-vm/src/main.rs:430–436  ·  view source on GitHub ↗
(listener: UnixListener, expected_peer_pid: Option<u32>)

Source from the content-addressed store, hash-verified

428
429impl AuthenticatedUnixIncoming {
430 fn new(listener: UnixListener, expected_peer_pid: Option<u32>) -> Self {
431 Self {
432 listener,
433 expected_uid: current_euid(),
434 expected_peer_pid,
435 }
436 }
437}
438
439impl Stream for AuthenticatedUnixIncoming {

Callers

nothing calls this directly

Calls 1

current_euidFunction · 0.70

Tested by

no test coverage detected