Skip to main content

process_install_owner_death_cleanup

Function process_install_owner_death_cleanup 

Source
pub fn process_install_owner_death_cleanup() -> Result<OwnerDeathCleanup, OwnerDeathCleanupError>
Expand description

Ask the kernel to signal this process when its owner exits.

PR_SET_PDEATHSIG is per-process and inherited across fork but cleared on execve, so it is installed by the process that wants the guarantee rather than by whoever spawned it.