Lines Matching defs:action
827 /* if action =0 ; return the cancellation state ,
829 * if action = 1 ; Enable the cancel handling
830 * if action = 2; Disable the cancel handling
838 int action = uap->action;
843 switch (action) {
1506 * Send the signal to the process. If the signal has an action, the action
1512 * default action, the process is stopped without awakening it.
1514 * regardless of the signal action (eg, blocked or ignored).
1522 sig_t action = NULL;
1600 action = SIG_DFL;
1626 action = SIG_DFL;
1633 * action will be SIG_DFL here.)
1638 action = KERN_SIG_WAIT;
1640 action = KERN_SIG_HOLD;
1642 action = KERN_SIG_CATCH;
1644 action = SIG_DFL;
1651 if (sig_proc->p_nice > NZERO && action == SIG_DFL && (prop & SA_KILL) &&
1662 * process group, discard the signal here if the action
1669 action == SIG_DFL) {
1683 if (action == KERN_SIG_CATCH)
1691 /* vfork will not go thru as action is SIG_DFL */
1692 if ((action == KERN_SIG_HOLD) && ((prop & SA_CONT) == 0 || sig_proc->p_stat != SSTOP)) {
1700 * as SIGKILL's action is always SIG_DFL.
1722 if (action == KERN_SIG_WAIT) {
1739 if (action != SIG_DFL) {
1780 /* Default action - varies */
1904 * A signal which has a default action of killing
1908 if (((flavor & (PSIG_VFORK|PSIG_THREAD)) == 0) && (action == SIG_DFL) && (prop & SA_KILL)) {
1984 * Stop signals with default action are processed immediately, then cleared;
2202 * with default action, stop here,
2252 * Default action is to ignore; drop it.
2267 * to take action on an ignored signal other
2277 * This signal has an action, let
2370 * with default action, stop here,
2392 * Default action is to ignore; drop it.
2403 * to take action on an ignored signal other
2413 * This signal has an action, let
2441 * Take the action for the specified signal