/linux-6.1.9/fs/ |
D | signalfd.c | 36 void signalfd_cleanup(struct sighand_struct *sighand) in signalfd_cleanup() argument 38 wake_up_pollfree(&sighand->signalfd_wqh); in signalfd_cleanup() 56 poll_wait(file, ¤t->sighand->signalfd_wqh, wait); in signalfd_poll() 58 spin_lock_irq(¤t->sighand->siglock); in signalfd_poll() 63 spin_unlock_irq(¤t->sighand->siglock); in signalfd_poll() 162 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue() 171 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue() 175 add_wait_queue(¤t->sighand->signalfd_wqh, &wait); in signalfd_dequeue() 185 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue() 187 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue() [all …]
|
D | coredump.c | 380 spin_lock_irq(&tsk->sighand->siglock); in zap_threads() 388 spin_unlock_irq(&tsk->sighand->siglock); in zap_threads() 427 spin_lock_irq(¤t->sighand->siglock); in coredump_finish() 432 spin_unlock_irq(¤t->sighand->siglock); in coredump_finish()
|
/linux-6.1.9/drivers/tty/ |
D | tty_jobctrl.c | 19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored() 80 spin_lock_irqsave(&p->sighand->siglock, flags); in proc_clear_tty() 83 spin_unlock_irqrestore(&p->sighand->siglock, flags); in proc_clear_tty() 124 spin_lock_irq(¤t->sighand->siglock); in proc_set_tty() 126 spin_unlock_irq(¤t->sighand->siglock); in proc_set_tty() 135 spin_lock_irq(¤t->sighand->siglock); in tty_open_proc_set_tty() 156 spin_unlock_irq(¤t->sighand->siglock); in tty_open_proc_set_tty() 165 spin_lock_irqsave(¤t->sighand->siglock, flags); in get_current_tty() 167 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in get_current_tty() 205 spin_lock_irq(&p->sighand->siglock); in tty_signal_session_leader() [all …]
|
/linux-6.1.9/include/linux/ |
D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify() 22 wake_up(&tsk->sighand->signalfd_wqh); in signalfd_notify() 25 extern void signalfd_cleanup(struct sighand_struct *sighand); 31 static inline void signalfd_cleanup(struct sighand_struct *sighand) { } in signalfd_cleanup() argument
|
/linux-6.1.9/kernel/ |
D | signal.c | 69 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 195 spin_lock_irq(¤t->sighand->siglock); in calculate_sigpending() 198 spin_unlock_irq(¤t->sighand->siglock); in calculate_sigpending() 480 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals() 484 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals() 517 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals() 520 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals() 529 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 542 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 557 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() [all …]
|
D | exit.c | 146 struct sighand_struct *sighand; in __exit_signal() local 150 sighand = rcu_dereference_check(tsk->sighand, in __exit_signal() 152 spin_lock(&sighand->siglock); in __exit_signal() 206 tsk->sighand = NULL; in __exit_signal() 207 spin_unlock(&sighand->siglock); in __exit_signal() 209 __cleanup_sighand(sighand); in __exit_signal() 409 spin_lock_irq(&tsk->sighand->siglock); in coredump_task_exit() 412 spin_unlock_irq(&tsk->sighand->siglock); in coredump_task_exit() 791 struct sighand_struct *sighand = tsk->sighand; in synchronize_group_exit() local 794 spin_lock_irq(&sighand->siglock); in synchronize_group_exit() [all …]
|
D | ptrace.c | 132 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 …]
|
D | fork.c | 1640 refcount_inc(¤t->sighand->count); in copy_sighand() 1644 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand() 1649 spin_lock_irq(¤t->sighand->siglock); in copy_sighand() 1650 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand() 1651 spin_unlock_irq(¤t->sighand->siglock); in copy_sighand() 1660 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument 1662 if (refcount_dec_and_test(&sighand->count)) { in __cleanup_sighand() 1663 signalfd_cleanup(sighand); in __cleanup_sighand() 1668 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand() 1745 assert_spin_locked(¤t->sighand->siglock); in copy_seccomp() [all …]
|
D | seccomp.c | 434 assert_spin_locked(¤t->sighand->siglock); in seccomp_may_assign_mode() 448 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode() 490 assert_spin_locked(¤t->sighand->siglock); in seccomp_can_sync_threads() 567 WARN_ON(tsk->sighand != NULL); in seccomp_filter_release() 587 assert_spin_locked(¤t->sighand->siglock); in seccomp_sync_threads() 873 assert_spin_locked(¤t->sighand->siglock); in seccomp_attach_filter() 1371 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1383 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1812 lockdep_assert_held(¤t->sighand->siglock); in has_duplicate_listener() 1898 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() [all …]
|
D | kcmp.c | 192 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
|
D | pid_namespace.c | 182 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()
|
D | acct.c | 477 spin_lock_irq(¤t->sighand->siglock); in fill_ac() 487 spin_unlock_irq(¤t->sighand->siglock); in fill_ac() 570 spin_lock_irq(¤t->sighand->siglock); in acct_collect() 590 spin_unlock_irq(¤t->sighand->siglock); in acct_collect()
|
D | taskstats.c | 280 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()
|
D | umh.c | 73 spin_lock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 75 spin_unlock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async()
|
/linux-6.1.9/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 | 475 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() 1050 struct sighand_struct *sighand; in posix_cpu_timer_rearm() local 1060 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() 1021 spin_lock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1023 spin_unlock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1066 spin_lock_irq(&tsk->sighand->siglock); in exit_itimers() 1068 spin_unlock_irq(&tsk->sighand->siglock); in exit_itimers()
|
/linux-6.1.9/fs/proc/ |
D | task_nommu.c | 65 if (current->sighand && refcount_read(¤t->sighand->count) > 1) in task_mem() 66 sbytes += kobjsize(current->sighand); in task_mem() 68 bytes += kobjsize(current->sighand); in task_mem()
|
/linux-6.1.9/include/linux/sched/ |
D | signal.h | 288 spin_lock_irq(&task->sighand->siglock); in kernel_dequeue_signal() 290 spin_unlock_irq(&task->sighand->siglock); in kernel_dequeue_signal() 297 spin_lock_irq(¤t->sighand->siglock); in kernel_signal_stop() 302 spin_unlock_irq(¤t->sighand->siglock); in kernel_signal_stop() 746 (void)__cond_lock(&task->sighand->siglock, ret); in lock_task_sighand() 753 spin_unlock_irqrestore(&task->sighand->siglock, *flags); in unlock_task_sighand()
|
D | cputime.h | 105 if (unlikely(!tsk->sighand)) in get_running_cputimer()
|
/linux-6.1.9/arch/x86/kernel/fpu/ |
D | core.c | 206 spin_lock_irq(¤t->sighand->siglock); in fpu_init_guest_permissions() 213 spin_unlock_irq(¤t->sighand->siglock); in fpu_init_guest_permissions() 547 spin_lock_irq(¤t->sighand->siglock); in fpu_inherit_perms() 551 spin_unlock_irq(¤t->sighand->siglock); in fpu_inherit_perms()
|
D | xstate.c | 1572 lockdep_assert_held(¤t->sighand->siglock); in validate_sigaltstack() 1662 spin_lock_irq(¤t->sighand->siglock); in xstate_request_perm() 1670 spin_unlock_irq(¤t->sighand->siglock); in xstate_request_perm() 1688 spin_lock_irq(¤t->sighand->siglock); in __xfd_enable_feature() 1692 spin_unlock_irq(¤t->sighand->siglock); in __xfd_enable_feature() 1707 spin_unlock_irq(¤t->sighand->siglock); in __xfd_enable_feature()
|
/linux-6.1.9/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()
|
/linux-6.1.9/fs/coda/ |
D | upcall.c | 618 spin_lock_irq(¤t->sighand->siglock); in coda_block_signals() 627 spin_unlock_irq(¤t->sighand->siglock); in coda_block_signals() 632 spin_lock_irq(¤t->sighand->siglock); in coda_unblock_signals() 635 spin_unlock_irq(¤t->sighand->siglock); in coda_unblock_signals()
|
/linux-6.1.9/fs/autofs/ |
D | waitq.c | 68 spin_lock_irqsave(¤t->sighand->siglock, flags); in autofs_write() 71 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in autofs_write()
|