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

Function dumpable_behavior

src/process/prctl.rs:118–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116#[inline]
117#[doc(alias = "PR_GET_DUMPABLE")]
118pub fn dumpable_behavior() -> io::Result<DumpableBehavior> {
119 unsafe { prctl_1arg(PR_GET_DUMPABLE) }.and_then(TryInto::try_into)
120}
121
122const PR_SET_DUMPABLE: c_int = 4;
123

Callers

nothing calls this directly

Calls 1

prctl_1argFunction · 0.85

Tested by

no test coverage detected