Lines Matching full:signal
6 #include <linux/signal.h>
17 * Types defining task->signal and task->sighand and APIs using them:
71 sigset_t signal; member
90 /* current thread group signal load-balancing target: */
93 /* shared signal handling: */
103 * - everyone except group_exit_task is stopped during signal delivery
104 * of fatal signals, group_exit_task processes the signal.
362 * TIF_NOTIFY_SIGNAL isn't really a signal, but it requires the same in signal_pending()
364 * so that notify signal callbacks can be processed. in signal_pending()
373 return unlikely(sigismember(&p->pending.signal, SIGKILL)); in __fatal_signal_pending()
437 * This sets TIF_RESTORE_SIGMASK and ensures that the arch signal code
443 * signal code always gets run when TIF_RESTORE_SIGMASK is set.
549 * True if we are on the alternate signal stack.
554 * If the signal stack is SS_AUTODISARM then, by construction, we in on_sig_stack()
555 * can't be on the signal stack unless user code deliberately set in on_sig_stack()
559 * the stack pointer points very close to the end of the signal stack, in on_sig_stack()
560 * then this check will enable the signal to be handled anyway. in on_sig_stack()
618 #define __for_each_thread(signal, t) \ argument
619 list_for_each_entry_rcu(t, &(signal)->thread_head, thread_node)
622 __for_each_thread((p)->signal, t)
638 pid = task->signal->pids[type]; in task_pid_type()
644 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
654 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()
659 return task->signal->pids[PIDTYPE_SID]; in task_session()
664 return task->signal->nr_threads; in get_nr_threads()
675 return p1->signal == p2->signal; in same_thread_group()
722 return READ_ONCE(task->signal->rlim[limit].rlim_cur); in task_rlimit()
728 return READ_ONCE(task->signal->rlim[limit].rlim_max); in task_rlimit_max()