Home
last modified time | relevance | path

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

/kernel/
Dsignal.c73 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()
484 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals()
488 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals()
521 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals()
524 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals()
533 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()
546 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers()
561 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
[all …]
Dexit.c148 struct sighand_struct *sighand; in __exit_signal() local
152 sighand = rcu_dereference_check(tsk->sighand, in __exit_signal()
154 spin_lock(&sighand->siglock); in __exit_signal()
208 tsk->sighand = NULL; in __exit_signal()
209 spin_unlock(&sighand->siglock); in __exit_signal()
211 __cleanup_sighand(sighand); in __exit_signal()
411 spin_lock_irq(&tsk->sighand->siglock); in coredump_task_exit()
414 spin_unlock_irq(&tsk->sighand->siglock); in coredump_task_exit()
794 struct sighand_struct *sighand = tsk->sighand; in synchronize_group_exit() local
797 spin_lock_irq(&sighand->siglock); in synchronize_group_exit()
[all …]
Dptrace.c132 spin_lock(&child->sighand->siglock); in __ptrace_unlink()
170 spin_unlock(&child->sighand->siglock); in __ptrace_unlink()
202 spin_lock_irq(&task->sighand->siglock); in ptrace_freeze_traced()
208 spin_unlock_irq(&task->sighand->siglock); in ptrace_freeze_traced()
452 spin_lock(&task->sighand->siglock); in ptrace_attach()
477 spin_unlock(&task->sighand->siglock); in ptrace_attach()
571 else if (ignoring_children(tracer->sighand)) { in __ptrace_detach()
762 spin_lock_irq(&child->sighand->siglock); in ptrace_peek_siginfo()
770 spin_unlock_irq(&child->sighand->siglock); in ptrace_peek_siginfo()
881 spin_lock_irq(&child->sighand->siglock); in ptrace_resume()
[all …]
Dfork.c1752 refcount_inc(&current->sighand->count); in copy_sighand()
1756 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand()
1761 spin_lock_irq(&current->sighand->siglock); in copy_sighand()
1762 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
1763 spin_unlock_irq(&current->sighand->siglock); in copy_sighand()
1772 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument
1774 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand()
1775 signalfd_cleanup(sighand); in __cleanup_sighand()
1780 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand()
1857 assert_spin_locked(&current->sighand->siglock); in copy_seccomp()
[all …]
Dseccomp.c434 assert_spin_locked(&current->sighand->siglock); in seccomp_may_assign_mode()
448 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode()
490 assert_spin_locked(&current->sighand->siglock); in seccomp_can_sync_threads()
567 WARN_ON(tsk->sighand != NULL); in seccomp_filter_release()
587 assert_spin_locked(&current->sighand->siglock); in seccomp_sync_threads()
873 assert_spin_locked(&current->sighand->siglock); in seccomp_attach_filter()
1371 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1383 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1812 lockdep_assert_held(&current->sighand->siglock); in has_duplicate_listener()
1898 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
[all …]
Dacct.c477 spin_lock_irq(&current->sighand->siglock); in fill_ac()
487 spin_unlock_irq(&current->sighand->siglock); in fill_ac()
570 spin_lock_irq(&current->sighand->siglock); in acct_collect()
590 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
Dpid_namespace.c182 spin_lock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
183 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; in zap_pid_ns_processes()
184 spin_unlock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
Dkcmp.c192 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
Dtaskstats.c280 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit()
292 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit()
585 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
596 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
Dumh.c73 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
75 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
Daudit.c2234 spin_lock_irqsave(&current->sighand->siglock, flags); in audit_get_tty()
2237 spin_unlock_irqrestore(&current->sighand->siglock, flags); in audit_get_tty()
/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.c475 struct sighand_struct *sighand; in posix_cpu_timer_del() local
489 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_del()
490 if (unlikely(sighand == NULL)) { in posix_cpu_timer_del()
630 struct sighand_struct *sighand; in posix_cpu_timer_set() local
656 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_set()
661 if (unlikely(sighand == NULL)) { in posix_cpu_timer_set()
772 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_set()
773 if (!sighand) in posix_cpu_timer_set()
1052 struct sighand_struct *sighand; in posix_cpu_timer_rearm() local
1062 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()
Dtick-sched.c509 lockdep_assert_held(&tsk->sighand->siglock); in tick_nohz_dep_set_signal()
/kernel/cgroup/
Dfreezer.c144 spin_lock(&current->sighand->siglock); in cgroup_leave_frozen()
147 spin_unlock(&current->sighand->siglock); in cgroup_leave_frozen()
Dcgroup.c6641 spin_lock(&child->sighand->siglock); in cgroup_post_fork()
6644 spin_unlock(&child->sighand->siglock); in cgroup_post_fork()
/kernel/events/
Duprobes.c1975 spin_lock_irq(&t->sighand->siglock); in uprobe_deny_signal()
1977 spin_unlock_irq(&t->sighand->siglock); in uprobe_deny_signal()
2278 spin_lock_irq(&current->sighand->siglock); in handle_singlestep()
2280 spin_unlock_irq(&current->sighand->siglock); in handle_singlestep()