[][src]Function capctl::prctl::set_pdeathsig

pub fn set_pdeathsig(sig: Option<c_int>) -> Result<()>

Set the parent-death signal of the current process.

The parent-death signal is the signal that this process will receive when its parent dies. It is cleared when executing a binary that is set-UID, set-GID, or has file capabilities.

Specifying None is equivalent to specifying Some(0); both clear the parent-death signal.