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

Function dumpable_flag_probe

crates/openshell-supervisor-process/src/process.rs:1779–1781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1777 #[cfg(target_os = "linux")]
1778 #[allow(unsafe_code)]
1779 unsafe fn dumpable_flag_probe() -> i64 {
1780 unsafe { i64::from(libc::prctl(libc::PR_GET_DUMPABLE, 0, 0, 0, 0)) }
1781 }
1782
1783 #[test]
1784 #[cfg(target_os = "linux")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected