/kernel/ |
D | signal.c | 69 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 196 spin_lock_irq(¤t->sighand->siglock); in calculate_sigpending() 199 spin_unlock_irq(¤t->sighand->siglock); in calculate_sigpending() 474 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals() 478 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals() 511 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals() 514 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals() 523 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 536 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 551 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() [all …]
|
D | exit.c | 96 struct sighand_struct *sighand; in __exit_signal() local 100 sighand = rcu_dereference_check(tsk->sighand, in __exit_signal() 102 spin_lock(&sighand->siglock); in __exit_signal() 165 tsk->sighand = NULL; in __exit_signal() 166 spin_unlock(&sighand->siglock); in __exit_signal() 168 __cleanup_sighand(sighand); in __exit_signal() 885 struct sighand_struct *const sighand = current->sighand; in do_group_exit() local 887 spin_lock_irq(&sighand->siglock); in do_group_exit() 896 spin_unlock_irq(&sighand->siglock); in do_group_exit() 1037 spin_lock_irq(¤t->sighand->siglock); in wait_task_zombie() [all …]
|
D | ptrace.c | 131 spin_lock(&child->sighand->siglock); in __ptrace_unlink() 169 spin_unlock(&child->sighand->siglock); in __ptrace_unlink() 181 spin_lock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 186 spin_unlock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 202 spin_lock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 209 spin_unlock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 421 spin_lock(&task->sighand->siglock); in ptrace_attach() 444 spin_unlock(&task->sighand->siglock); in ptrace_attach() 538 else if (ignoring_children(tracer->sighand)) { in __ptrace_detach() 740 spin_lock_irq(&child->sighand->siglock); in ptrace_peek_siginfo() [all …]
|
D | fork.c | 1515 refcount_inc(¤t->sighand->count); in copy_sighand() 1519 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand() 1524 spin_lock_irq(¤t->sighand->siglock); in copy_sighand() 1525 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand() 1526 spin_unlock_irq(¤t->sighand->siglock); in copy_sighand() 1530 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument 1532 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand() 1533 signalfd_cleanup(sighand); in __cleanup_sighand() 1538 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand() 1613 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp() [all …]
|
D | seccomp.c | 286 assert_spin_locked(¤t->sighand->siglock); in seccomp_may_assign_mode() 300 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode() 342 assert_spin_locked(¤t->sighand->siglock); in seccomp_can_sync_threads() 383 assert_spin_locked(¤t->sighand->siglock); in seccomp_sync_threads() 516 assert_spin_locked(¤t->sighand->siglock); in seccomp_attach_filter() 961 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 973 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1309 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() 1322 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() 1463 spin_lock_irq(&task->sighand->siglock); in get_nth_filter() [all …]
|
D | acct.c | 456 spin_lock_irq(¤t->sighand->siglock); in fill_ac() 466 spin_unlock_irq(¤t->sighand->siglock); in fill_ac() 551 spin_lock_irq(¤t->sighand->siglock); in acct_collect() 571 spin_unlock_irq(¤t->sighand->siglock); in acct_collect()
|
D | pid_namespace.c | 197 spin_lock_irq(&me->sighand->siglock); in zap_pid_ns_processes() 198 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; in zap_pid_ns_processes() 199 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 | 262 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit() 274 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit() 567 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc() 578 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
|
D | umh.c | 74 spin_lock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 76 spin_unlock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async()
|
D | audit.c | 2109 spin_lock_irqsave(¤t->sighand->siglock, flags); in audit_get_tty() 2112 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in audit_get_tty()
|
D | sys.c | 1547 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() 157 spin_lock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 171 spin_unlock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 201 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer() 210 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer() 223 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() 410 struct sighand_struct *sighand; in posix_cpu_timer_del() local 421 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_del() 422 if (unlikely(sighand == NULL)) { in posix_cpu_timer_del() 568 struct sighand_struct *sighand; in posix_cpu_timer_set() local 585 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_set() 590 if (unlikely(sighand == NULL)) in posix_cpu_timer_set() 726 struct sighand_struct *sighand; in posix_cpu_timer_get() local 734 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_get() [all …]
|
D | posix-timers.c | 534 spin_lock_irq(¤t->sighand->siglock); in do_timer_create() 537 spin_unlock_irq(¤t->sighand->siglock); in do_timer_create() 999 spin_lock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1001 spin_unlock(¤t->sighand->siglock); in SYSCALL_DEFINE1()
|
/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 | 1928 spin_lock(&p->sighand->siglock); in cgroup_enable_task_cg_lists() 1938 spin_unlock(&p->sighand->siglock); in cgroup_enable_task_cg_lists() 6045 spin_lock(&child->sighand->siglock); in cgroup_post_fork() 6048 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 | 1978 spin_lock_irq(&t->sighand->siglock); in uprobe_deny_signal() 1980 spin_unlock_irq(&t->sighand->siglock); in uprobe_deny_signal() 2277 spin_lock_irq(¤t->sighand->siglock); in handle_singlestep() 2279 spin_unlock_irq(¤t->sighand->siglock); in handle_singlestep()
|