[][src]Function capctl::prctl::set_dumpable

pub fn set_dumpable(dumpable: bool) -> Result<()>

Set the "dumpable" flag for the current process.

This controls whether a core dump will be produced for the process if it receives a signal that would make it perform a core dump. It also restricts which processes can be attached with ptrace().