Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
280
fn current_euid() -> u32 {
281
rustix::process::geteuid().as_raw()
282
}
283
284
#[cfg(unix)]
285
fn prepare_vm_state_dir(state_dir: &Path, expected_uid: u32) -> Result<()> {
Callers
2
prepare_compute_driver_socket_path
Function · 0.70
prepare_vm_state_dir_rejects_wrong_owner
Function · 0.70
Calls
no outgoing calls
Tested by
1
prepare_vm_state_dir_rejects_wrong_owner
Function · 0.56