Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FreeBSD's `procctl` supports a similar death signal facility with slightly different arguments. from `procctl(2)`: ``` int procctl(idtype_t idtype, id_t id, int cmd, void *data); P_PID Control the process with the process ID id. id zero is a shortcut for the calling process ID. PROC_PDEATHSIG_CTL Request the delivery of a signal when the parent of the calling process exits. idtype must be P_PID and id must be the either caller's pid or zero, with no difference in effect. The value is cleared for child processes and when executing set-user-ID or set-group-ID binaries. data must point to a value of type int indicating the signal that should be delivered to the caller. Use zero to cancel a previously requested signal delivery. ```
- Loading branch information