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

Function current_euid

crates/openshell-server/src/compute/vm.rs:280–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278
279#[cfg(unix)]
280fn current_euid() -> u32 {
281 rustix::process::geteuid().as_raw()
282}
283
284#[cfg(unix)]
285fn prepare_vm_state_dir(state_dir: &Path, expected_uid: u32) -> Result<()> {

Calls

no outgoing calls

Tested by 1