MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / test_setuid

Function test_setuid

tests/thread/id.rs:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10#[cfg(feature = "process")]
11#[test]
12fn test_setuid() {
13 thread::set_thread_uid(process::getuid()).unwrap();
14}
15
16#[cfg(feature = "process")]
17#[test]

Callers

nothing calls this directly

Calls 2

set_thread_uidFunction · 0.85
getuidFunction · 0.50

Tested by

no test coverage detected