Home
last modified time | relevance | path

Searched refs:sighand (Results 1 – 19 of 19) sorted by relevance

/kernel/
Dsignal.c69 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
196 spin_lock_irq(&current->sighand->siglock); in calculate_sigpending()
199 spin_unlock_irq(&current->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 …]
Dexit.c96 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(&current->sighand->siglock); in wait_task_zombie()
[all …]
Dptrace.c131 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 …]
Dfork.c1515 refcount_inc(&current->sighand->count); in copy_sighand()
1519 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand()
1524 spin_lock_irq(&current->sighand->siglock); in copy_sighand()
1525 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1526 spin_unlock_irq(&current->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(&current->sighand->siglock); in copy_seccomp()
[all …]
Dseccomp.c286 assert_spin_locked(&current->sighand->siglock); in seccomp_may_assign_mode()
300 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode()
342 assert_spin_locked(&current->sighand->siglock); in seccomp_can_sync_threads()
383 assert_spin_locked(&current->sighand->siglock); in seccomp_sync_threads()
516 assert_spin_locked(&current->sighand->siglock); in seccomp_attach_filter()
961 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
973 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1309 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1322 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1463 spin_lock_irq(&task->sighand->siglock); in get_nth_filter()
[all …]
Dacct.c456 spin_lock_irq(&current->sighand->siglock); in fill_ac()
466 spin_unlock_irq(&current->sighand->siglock); in fill_ac()
551 spin_lock_irq(&current->sighand->siglock); in acct_collect()
571 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
Dpid_namespace.c197 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()
Dkcmp.c209 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
Dtaskstats.c262 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()
Dumh.c74 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
76 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
Daudit.c2109 spin_lock_irqsave(&current->sighand->siglock, flags); in audit_get_tty()
2112 spin_unlock_irqrestore(&current->sighand->siglock, flags); in audit_get_tty()
Dsys.c1547 if (!tsk->sighand) { in do_prlimit()
/kernel/time/
Ditimer.c53 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()
Dposix-cpu-timers.c42 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 …]
Dposix-timers.c534 spin_lock_irq(&current->sighand->siglock); in do_timer_create()
537 spin_unlock_irq(&current->sighand->siglock); in do_timer_create()
999 spin_lock(&current->sighand->siglock); in SYSCALL_DEFINE1()
1001 spin_unlock(&current->sighand->siglock); in SYSCALL_DEFINE1()
/kernel/cgroup/
Dfreezer.c143 spin_lock(&current->sighand->siglock); in cgroup_leave_frozen()
146 spin_unlock(&current->sighand->siglock); in cgroup_leave_frozen()
Dcgroup.c1928 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/
Dtransition.c372 spin_lock_irq(&task->sighand->siglock); in klp_send_signals()
374 spin_unlock_irq(&task->sighand->siglock); in klp_send_signals()
/kernel/events/
Duprobes.c1978 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(&current->sighand->siglock); in handle_singlestep()
2279 spin_unlock_irq(&current->sighand->siglock); in handle_singlestep()