/kernel/ |
D | signal.c | 72 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 199 spin_lock_irq(¤t->sighand->siglock); in calculate_sigpending() 202 spin_unlock_irq(¤t->sighand->siglock); in calculate_sigpending() 483 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals() 487 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals() 520 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals() 523 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals() 532 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 545 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 560 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() [all …]
|
D | ptrace.c | 131 spin_lock(&child->sighand->siglock); in __ptrace_unlink() 169 spin_unlock(&child->sighand->siglock); in __ptrace_unlink() 196 spin_lock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 202 spin_unlock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 218 spin_lock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 225 spin_unlock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 459 spin_lock(&task->sighand->siglock); in ptrace_attach() 482 spin_unlock(&task->sighand->siglock); in ptrace_attach() 576 else if (ignoring_children(tracer->sighand)) { in __ptrace_detach() 767 spin_lock_irq(&child->sighand->siglock); in ptrace_peek_siginfo() [all …]
|
D | exit.c | 145 struct sighand_struct *sighand; in __exit_signal() local 149 sighand = rcu_dereference_check(tsk->sighand, in __exit_signal() 151 spin_lock(&sighand->siglock); in __exit_signal() 205 tsk->sighand = NULL; in __exit_signal() 206 spin_unlock(&sighand->siglock); in __exit_signal() 208 __cleanup_sighand(sighand); in __exit_signal() 970 struct sighand_struct *const sighand = current->sighand; in do_group_exit() local 972 spin_lock_irq(&sighand->siglock); in do_group_exit() 981 spin_unlock_irq(&sighand->siglock); in do_group_exit() 1122 spin_lock_irq(¤t->sighand->siglock); in wait_task_zombie() [all …]
|
D | fork.c | 1573 refcount_inc(¤t->sighand->count); in copy_sighand() 1577 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand() 1582 spin_lock_irq(¤t->sighand->siglock); in copy_sighand() 1583 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand() 1584 spin_unlock_irq(¤t->sighand->siglock); in copy_sighand() 1593 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument 1595 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand() 1596 signalfd_cleanup(sighand); in __cleanup_sighand() 1601 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand() 1677 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp() [all …]
|
D | seccomp.c | 427 assert_spin_locked(¤t->sighand->siglock); in seccomp_may_assign_mode() 441 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode() 483 assert_spin_locked(¤t->sighand->siglock); in seccomp_can_sync_threads() 577 assert_spin_locked(¤t->sighand->siglock); in seccomp_sync_threads() 863 assert_spin_locked(¤t->sighand->siglock); in seccomp_attach_filter() 1342 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1354 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1762 lockdep_assert_held(¤t->sighand->siglock); in has_duplicate_listener() 1840 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() 1858 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() [all …]
|
D | acct.c | 460 spin_lock_irq(¤t->sighand->siglock); in fill_ac() 470 spin_unlock_irq(¤t->sighand->siglock); in fill_ac() 555 spin_lock_irq(¤t->sighand->siglock); in acct_collect() 575 spin_unlock_irq(¤t->sighand->siglock); in acct_collect()
|
D | pid_namespace.c | 189 spin_lock_irq(&me->sighand->siglock); in zap_pid_ns_processes() 190 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; in zap_pid_ns_processes() 191 spin_unlock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
|
D | kcmp.c | 209 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
|
D | taskstats.c | 258 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit() 270 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit() 563 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc() 574 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
|
D | umh.c | 71 spin_lock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 73 spin_unlock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async()
|
D | audit.c | 2233 spin_lock_irqsave(¤t->sighand->siglock, flags); in audit_get_tty() 2236 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in audit_get_tty()
|
D | sys.c | 1584 if (!tsk->sighand) { in do_prlimit()
|
/kernel/time/ |
D | itimer.c | 53 spin_lock_irq(&tsk->sighand->siglock); in get_cpu_itimer() 70 spin_unlock_irq(&tsk->sighand->siglock); in get_cpu_itimer() 82 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer() 86 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer() 178 spin_lock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 192 spin_unlock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 216 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer() 225 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer() 238 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
|
D | posix-cpu-timers.c | 42 spin_lock_irq(&task->sighand->siglock); in update_rlimit_cpu() 44 spin_unlock_irq(&task->sighand->siglock); in update_rlimit_cpu() 417 struct sighand_struct *sighand; in posix_cpu_timer_del() local 431 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_del() 432 if (unlikely(sighand == NULL)) { in posix_cpu_timer_del() 578 struct sighand_struct *sighand; in posix_cpu_timer_set() local 604 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_set() 609 if (unlikely(sighand == NULL)) { in posix_cpu_timer_set() 987 struct sighand_struct *sighand; in posix_cpu_timer_rearm() local 997 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_rearm() [all …]
|
D | posix-timers.c | 560 spin_lock_irq(¤t->sighand->siglock); in do_timer_create() 563 spin_unlock_irq(¤t->sighand->siglock); in do_timer_create() 1025 spin_lock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1027 spin_unlock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1096 spin_lock_irq(&tsk->sighand->siglock); in exit_itimers() 1098 spin_unlock_irq(&tsk->sighand->siglock); in exit_itimers()
|
/kernel/cgroup/ |
D | freezer.c | 143 spin_lock(¤t->sighand->siglock); in cgroup_leave_frozen() 146 spin_unlock(¤t->sighand->siglock); in cgroup_leave_frozen()
|
D | cgroup.c | 6333 spin_lock(&child->sighand->siglock); in cgroup_post_fork() 6336 spin_unlock(&child->sighand->siglock); in cgroup_post_fork()
|
/kernel/livepatch/ |
D | transition.c | 372 spin_lock_irq(&task->sighand->siglock); in klp_send_signals() 374 spin_unlock_irq(&task->sighand->siglock); in klp_send_signals()
|
/kernel/events/ |
D | uprobes.c | 1977 spin_lock_irq(&t->sighand->siglock); in uprobe_deny_signal() 1979 spin_unlock_irq(&t->sighand->siglock); in uprobe_deny_signal() 2279 spin_lock_irq(¤t->sighand->siglock); in handle_singlestep() 2281 spin_unlock_irq(¤t->sighand->siglock); in handle_singlestep()
|