Function rustix::process::set_dumpable_behavior

source ·
pub fn set_dumpable_behavior(config: DumpableBehavior) -> Result<()>
Expand description

Set the state of the dumpable attribute.

This attribute determines whether the process can be traced and whether core dumps are produced for the calling process upon delivery of a signal whose default behavior is to produce a core dump.

A similar function with the same name is available on FreeBSD (as part of the procctl interface), but it has an extra argument which allows to select a process other then the current process.

§References