Home
last modified time | relevance | path

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

/kernel/
Dsignal.c72 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
199 spin_lock_irq(&current->sighand->siglock); in calculate_sigpending()
202 spin_unlock_irq(&current->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 …]
Dptrace.c131 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 …]
Dexit.c145 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(&current->sighand->siglock); in wait_task_zombie()
[all …]
Dfork.c1573 refcount_inc(&current->sighand->count); in copy_sighand()
1577 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand()
1582 spin_lock_irq(&current->sighand->siglock); in copy_sighand()
1583 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1584 spin_unlock_irq(&current->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(&current->sighand->siglock); in copy_seccomp()
[all …]
Dseccomp.c427 assert_spin_locked(&current->sighand->siglock); in seccomp_may_assign_mode()
441 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode()
483 assert_spin_locked(&current->sighand->siglock); in seccomp_can_sync_threads()
577 assert_spin_locked(&current->sighand->siglock); in seccomp_sync_threads()
863 assert_spin_locked(&current->sighand->siglock); in seccomp_attach_filter()
1342 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1354 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1762 lockdep_assert_held(&current->sighand->siglock); in has_duplicate_listener()
1840 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1858 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
[all …]
Dacct.c460 spin_lock_irq(&current->sighand->siglock); in fill_ac()
470 spin_unlock_irq(&current->sighand->siglock); in fill_ac()
555 spin_lock_irq(&current->sighand->siglock); in acct_collect()
575 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
Dpid_namespace.c189 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()
Dkcmp.c209 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
Dtaskstats.c258 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()
Dumh.c71 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
73 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
Daudit.c2233 spin_lock_irqsave(&current->sighand->siglock, flags); in audit_get_tty()
2236 spin_unlock_irqrestore(&current->sighand->siglock, flags); in audit_get_tty()
Dsys.c1584 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()
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()
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()
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 …]
Dposix-timers.c560 spin_lock_irq(&current->sighand->siglock); in do_timer_create()
563 spin_unlock_irq(&current->sighand->siglock); in do_timer_create()
1025 spin_lock(&current->sighand->siglock); in SYSCALL_DEFINE1()
1027 spin_unlock(&current->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/
Dfreezer.c143 spin_lock(&current->sighand->siglock); in cgroup_leave_frozen()
146 spin_unlock(&current->sighand->siglock); in cgroup_leave_frozen()
Dcgroup.c6333 spin_lock(&child->sighand->siglock); in cgroup_post_fork()
6336 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.c1977 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(&current->sighand->siglock); in handle_singlestep()
2281 spin_unlock_irq(&current->sighand->siglock); in handle_singlestep()