Searched refs:sighand (Results 1 - 43 of 43) sorted by relevance

/linux-4.4.14/include/linux/
H A Dsignalfd.h20 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) signalfd_notify()
21 wake_up(&tsk->sighand->signalfd_wqh); signalfd_notify()
24 extern void signalfd_cleanup(struct sighand_struct *sighand);
30 static inline void signalfd_cleanup(struct sighand_struct *sighand) { } argument
H A Dinit_task.h65 #define INIT_SIGHAND(sighand) { \
68 .siglock = __SPIN_LOCK_UNLOCKED(sighand.siglock), \
69 .signalfd_wqh = __WAIT_QUEUE_HEAD_INITIALIZER(sighand.signalfd_wqh), \
231 .sighand = &init_sighand, \
H A Dsignal.h434 (((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \
435 ((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN))
439 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
H A Dsched.h1570 struct sighand_struct *sighand; member in struct:task_struct
2477 spin_lock_irq(&tsk->sighand->siglock); kernel_dequeue_signal()
2479 spin_unlock_irq(&tsk->sighand->siglock); kernel_dequeue_signal()
2486 spin_lock_irq(&current->sighand->siglock); kernel_signal_stop()
2489 spin_unlock_irq(&current->sighand->siglock); kernel_signal_stop()
2757 (void)__cond_lock(&tsk->sighand->siglock, ret); lock_task_sighand()
2764 spin_unlock_irqrestore(&tsk->sighand->siglock, *flags); unlock_task_sighand()
3067 * callers must hold sighand->siglock.
/linux-4.4.14/fs/
H A Dsignalfd.c9 * Added sighand-detach notification.
17 * Attach to the sighand only during read() and poll().
35 void signalfd_cleanup(struct sighand_struct *sighand) signalfd_cleanup() argument
37 wait_queue_head_t *wqh = &sighand->signalfd_wqh; signalfd_cleanup()
65 poll_wait(file, &current->sighand->signalfd_wqh, wait); signalfd_poll()
67 spin_lock_irq(&current->sighand->siglock); signalfd_poll()
72 spin_unlock_irq(&current->sighand->siglock); signalfd_poll()
165 spin_lock_irq(&current->sighand->siglock); signalfd_dequeue()
173 spin_unlock_irq(&current->sighand->siglock); signalfd_dequeue()
177 add_wait_queue(&current->sighand->signalfd_wqh, &wait); signalfd_dequeue()
187 spin_unlock_irq(&current->sighand->siglock); signalfd_dequeue()
189 spin_lock_irq(&current->sighand->siglock); signalfd_dequeue()
191 spin_unlock_irq(&current->sighand->siglock); signalfd_dequeue()
193 remove_wait_queue(&current->sighand->signalfd_wqh, &wait); signalfd_dequeue()
298 spin_lock_irq(&current->sighand->siglock); SYSCALL_DEFINE4()
300 spin_unlock_irq(&current->sighand->siglock); SYSCALL_DEFINE4()
302 wake_up(&current->sighand->signalfd_wqh); SYSCALL_DEFINE4()
H A Dcoredump.c315 spin_lock_irq(&tsk->sighand->siglock); zap_threads()
322 spin_unlock_irq(&tsk->sighand->siglock); zap_threads()
349 * However, it can change p->sighand, so lock_task_sighand(p) zap_threads()
423 spin_lock_irq(&current->sighand->siglock); coredump_finish()
428 spin_unlock_irq(&current->sighand->siglock); coredump_finish()
H A Dexec.c896 struct sighand_struct *oldsighand = tsk->sighand; de_thread()
1026 * This ->sighand is shared with the CLONE_SIGHAND de_thread()
1039 rcu_assign_pointer(tsk->sighand, newsighand); de_thread()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-prim.c79 spin_lock_irqsave(&current->sighand->siglock, flags); cfs_block_allsigs()
83 spin_unlock_irqrestore(&current->sighand->siglock, flags); cfs_block_allsigs()
94 spin_lock_irqsave(&current->sighand->siglock, flags); cfs_block_sigs()
98 spin_unlock_irqrestore(&current->sighand->siglock, flags); cfs_block_sigs()
109 spin_lock_irqsave(&current->sighand->siglock, flags); cfs_block_sigsinv()
113 spin_unlock_irqrestore(&current->sighand->siglock, flags); cfs_block_sigsinv()
124 spin_lock_irqsave(&current->sighand->siglock, flags); cfs_restore_sigs()
127 spin_unlock_irqrestore(&current->sighand->siglock, flags); cfs_restore_sigs()
143 spin_lock_irqsave(&current->sighand->siglock, flags); cfs_clear_sigpending()
145 spin_unlock_irqrestore(&current->sighand->siglock, flags); cfs_clear_sigpending()
/linux-4.4.14/drivers/tty/
H A Dtty_audit.c148 spin_lock_irqsave(&current->sighand->siglock, flags); tty_audit_tiocsti()
153 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_tiocsti()
178 * Try to lock sighand and get a reference to the tty audit buffer if available.
227 spin_lock_irqsave(&current->sighand->siglock, flags); tty_audit_buf_get()
235 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_buf_get()
245 spin_lock_irqsave(&current->sighand->siglock, flags); tty_audit_buf_get()
257 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_buf_get()
279 spin_lock_irqsave(&current->sighand->siglock, flags); tty_audit_add_data()
281 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_add_data()
330 spin_lock_irqsave(&current->sighand->siglock, flags); tty_audit_push()
332 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_push()
338 spin_unlock_irqrestore(&current->sighand->siglock, flags); tty_audit_push()
H A Dtty_io.c509 spin_lock_irqsave(&p->sighand->siglock, flags); proc_clear_tty()
512 spin_unlock_irqrestore(&p->sighand->siglock, flags); proc_clear_tty()
524 * sighand lock
552 spin_lock_irq(&current->sighand->siglock); proc_set_tty()
554 spin_unlock_irq(&current->sighand->siglock); proc_set_tty()
562 spin_lock_irqsave(&current->sighand->siglock, flags); get_current_tty()
564 spin_unlock_irqrestore(&current->sighand->siglock, flags); get_current_tty()
624 spin_lock_irq(&p->sighand->siglock); tty_signal_session_leader()
632 spin_unlock_irq(&p->sighand->siglock); tty_signal_session_leader()
643 spin_unlock_irq(&p->sighand->siglock); tty_signal_session_leader()
677 * ->siglock to protect ->signal/->sighand
877 * ->siglock is taken to protect ->signal/->sighand
879 * ->siglock is taken to protect ->signal/->sighand
906 spin_lock_irq(&current->sighand->siglock); disassociate_ctty()
909 spin_unlock_irq(&current->sighand->siglock); disassociate_ctty()
918 spin_lock_irq(&current->sighand->siglock); disassociate_ctty()
935 spin_unlock_irq(&current->sighand->siglock); disassociate_ctty()
2028 * ->siglock protects ->signal/->sighand
2140 spin_lock_irq(&current->sighand->siglock); tty_open()
2162 spin_unlock_irq(&current->sighand->siglock); tty_open()
H A Dn_tty.c1783 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); is_ignored()
/linux-4.4.14/kernel/time/
H A Ditimer.c51 spin_lock_irq(&tsk->sighand->siglock); get_cpu_itimer()
73 spin_unlock_irq(&tsk->sighand->siglock); get_cpu_itimer()
85 spin_lock_irq(&tsk->sighand->siglock); do_getitimer()
89 spin_unlock_irq(&tsk->sighand->siglock); do_getitimer()
160 spin_lock_irq(&tsk->sighand->siglock); set_cpu_itimer()
176 spin_unlock_irq(&tsk->sighand->siglock); set_cpu_itimer()
206 spin_lock_irq(&tsk->sighand->siglock); do_setitimer()
215 spin_unlock_irq(&tsk->sighand->siglock); do_setitimer()
227 spin_unlock_irq(&tsk->sighand->siglock); do_setitimer()
H A Dposix-cpu-timers.c26 spin_lock_irq(&task->sighand->siglock); update_rlimit_cpu()
28 spin_unlock_irq(&task->sighand->siglock); update_rlimit_cpu()
259 * Must be called with task sighand lock held for safe while_each_thread()
392 struct sighand_struct *sighand; posix_cpu_timer_del() local
398 * Protect against sighand release/switch in exit/exec and process/ posix_cpu_timer_del()
401 sighand = lock_task_sighand(p, &flags); posix_cpu_timer_del()
402 if (unlikely(sighand == NULL)) { posix_cpu_timer_del()
468 * expire later. This must be called with the sighand lock held.
559 * Must be called with task sighand lock held for safe while_each_thread()
628 struct sighand_struct *sighand; posix_cpu_timer_set() local
638 * Protect against sighand release/switch in exit/exec and p->cpu_timers posix_cpu_timer_set()
641 sighand = lock_task_sighand(p, &flags); posix_cpu_timer_set()
646 if (unlikely(sighand == NULL)) { posix_cpu_timer_set()
793 struct sighand_struct *sighand; posix_cpu_timer_get() local
797 * Protect against sighand release/switch in exit/exec and posix_cpu_timer_get()
801 sighand = lock_task_sighand(p, &flags); posix_cpu_timer_get()
802 if (unlikely(sighand == NULL)) { posix_cpu_timer_get()
980 * Write access to this field is protected by the sighand lock. check_process_timers()
1048 struct sighand_struct *sighand; posix_cpu_timer_schedule() local
1065 sighand = lock_task_sighand(p, &flags); posix_cpu_timer_schedule()
1066 if (!sighand) posix_cpu_timer_schedule()
1073 sighand = lock_task_sighand(p, &flags); posix_cpu_timer_schedule()
1074 if (unlikely(sighand == NULL)) { posix_cpu_timer_schedule()
1088 /* Leave the sighand locked for the call below. */ posix_cpu_timer_schedule()
1157 * sighand lock. However, this is fine because this is meant to fastpath_timer_check()
1159 * acquire the sighand lock to check/handle timers. fastpath_timer_check()
1247 * The tsk->sighand->siglock must be held by the caller.
H A Dposix-timers.c468 * change which involves sighand locking posix_timer_fn()
669 spin_lock_irq(&current->sighand->siglock); SYSCALL_DEFINE3()
672 spin_unlock_irq(&current->sighand->siglock); SYSCALL_DEFINE3()
959 spin_lock(&current->sighand->siglock); SYSCALL_DEFINE1()
961 spin_unlock(&current->sighand->siglock); SYSCALL_DEFINE1()
/linux-4.4.14/kernel/
H A Dsignal.c58 return t->sighand->action[sig - 1].sa.sa_handler; sig_handler()
243 * Must be called with @task->sighand->siglock held.
274 * Must be called with @task->sighand->siglock held.
298 * Must be called with @task->sighand->siglock held.
323 * Must be called with @task->sighand->siglock held.
423 spin_lock_irqsave(&t->sighand->siglock, flags); flush_signals()
427 spin_unlock_irqrestore(&t->sighand->siglock, flags); flush_signals()
458 spin_lock_irqsave(&tsk->sighand->siglock, flags); flush_itimer_signals()
461 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); flush_itimer_signals()
469 t->sighand->action[i].sa.sa_handler = SIG_IGN; ignore_signals()
482 struct k_sigaction *ka = &t->sighand->action[0]; flush_signal_handlers()
497 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; unhandled_signal()
621 spin_unlock(&tsk->sighand->siglock); dequeue_signal()
623 spin_lock(&tsk->sighand->siglock); dequeue_signal()
763 * Must be called with @task->sighand->siglock held.
768 assert_spin_locked(&t->sighand->siglock); ptrace_trap_notify()
980 assert_spin_locked(&t->sighand->siglock); __send_signal()
1166 spin_lock_irqsave(&t->sighand->siglock, flags); force_sig_info()
1167 action = &t->sighand->action[sig-1]; force_sig_info()
1180 spin_unlock_irqrestore(&t->sighand->siglock, flags); force_sig_info()
1212 struct sighand_struct *sighand; __lock_task_sighand() local
1221 sighand = rcu_dereference(tsk->sighand); __lock_task_sighand()
1222 if (unlikely(sighand == NULL)) { __lock_task_sighand()
1228 * This sighand can be already freed and even reused, but __lock_task_sighand()
1233 * We need to ensure that tsk->sighand is still the same __lock_task_sighand()
1236 * must see ->sighand == NULL. __lock_task_sighand()
1238 spin_lock(&sighand->siglock); __lock_task_sighand()
1239 if (likely(sighand == tsk->sighand)) { __lock_task_sighand()
1243 spin_unlock(&sighand->siglock); __lock_task_sighand()
1248 return sighand; __lock_task_sighand()
1451 spin_lock_irqsave(&p->sighand->siglock, flags); force_sigsegv()
1452 p->sighand->action[sig - 1].sa.sa_handler = SIG_DFL; force_sigsegv()
1453 spin_unlock_irqrestore(&p->sighand->siglock, flags); force_sigsegv()
1499 spinlock_t *lock = &current->sighand->siglock; sigqueue_free()
1630 psig = tsk->parent->sighand; do_notify_parent()
1681 struct sighand_struct *sighand; do_notify_parent_cldstop() local
1720 sighand = parent->sighand; do_notify_parent_cldstop()
1721 spin_lock_irqsave(&sighand->siglock, flags); do_notify_parent_cldstop()
1722 if (sighand->action[SIGCHLD-1].sa.sa_handler != SIG_IGN && do_notify_parent_cldstop()
1723 !(sighand->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDSTOP)) do_notify_parent_cldstop()
1729 spin_unlock_irqrestore(&sighand->siglock, flags); do_notify_parent_cldstop()
1767 * This must be called with current->sighand->siglock held.
1778 __releases(&current->sighand->siglock)
1779 __acquires(&current->sighand->siglock)
1795 spin_unlock_irq(&current->sighand->siglock);
1797 spin_lock_irq(&current->sighand->siglock);
1832 spin_unlock_irq(&current->sighand->siglock);
1885 spin_lock_irq(&current->sighand->siglock);
1919 spin_lock_irq(&current->sighand->siglock); ptrace_notify()
1921 spin_unlock_irq(&current->sighand->siglock); ptrace_notify()
1939 * Must be called with @current->sighand->siglock held, which is released
1947 __releases(&current->sighand->siglock)
2018 spin_unlock_irq(&current->sighand->siglock);
2060 * Must be called with @current->sighand->siglock held, which may be
2132 struct sighand_struct *sighand = current->sighand; get_signal() local
2150 spin_lock_irq(&sighand->siglock); get_signal()
2166 spin_unlock_irq(&sighand->siglock); get_signal()
2196 spin_unlock_irq(&sighand->siglock); get_signal()
2211 ka = &sighand->action[signr-1]; get_signal()
2260 spin_unlock_irq(&sighand->siglock); get_signal()
2267 spin_lock_irq(&sighand->siglock); get_signal()
2282 spin_unlock_irq(&sighand->siglock); get_signal()
2310 spin_unlock_irq(&sighand->siglock); get_signal()
2400 spin_lock_irq(&tsk->sighand->siglock); exit_signals()
2420 spin_unlock_irq(&tsk->sighand->siglock); exit_signals()
2488 spin_lock_irq(&tsk->sighand->siglock); __set_current_blocked()
2490 spin_unlock_irq(&tsk->sighand->siglock); __set_current_blocked()
2609 spin_lock_irq(&current->sighand->siglock); do_sigpending()
2612 spin_unlock_irq(&current->sighand->siglock); do_sigpending()
2775 spin_lock_irq(&tsk->sighand->siglock); do_sigtimedwait()
2787 spin_unlock_irq(&tsk->sighand->siglock); do_sigtimedwait()
2791 spin_lock_irq(&tsk->sighand->siglock); do_sigtimedwait()
2796 spin_unlock_irq(&tsk->sighand->siglock); do_sigtimedwait()
3031 spin_lock_irq(&current->sighand->siglock); kernel_sigaction()
3032 current->sighand->action[sig - 1].sa.sa_handler = action; kernel_sigaction()
3043 spin_unlock_irq(&current->sighand->siglock); kernel_sigaction()
3056 k = &p->sighand->action[sig-1]; do_sigaction()
3058 spin_lock_irq(&p->sighand->siglock); do_sigaction()
3086 spin_unlock_irq(&p->sighand->siglock); do_sigaction()
3598 if (!spin_trylock(&t->sighand->siglock)) { kdb_send_sig_info()
3604 spin_unlock(&t->sighand->siglock); kdb_send_sig_info()
H A Dptrace.c80 spin_lock(&child->sighand->siglock); __ptrace_unlink()
118 spin_unlock(&child->sighand->siglock); __ptrace_unlink()
130 spin_lock_irq(&task->sighand->siglock); ptrace_freeze_traced()
135 spin_unlock_irq(&task->sighand->siglock); ptrace_freeze_traced()
147 spin_lock_irq(&task->sighand->siglock); ptrace_unfreeze_traced()
152 spin_unlock_irq(&task->sighand->siglock); ptrace_unfreeze_traced()
167 * Grabs and releases tasklist_lock and @child->sighand->siglock.
187 * child->sighand can't be NULL, release_task() ptrace_check_attach()
358 spin_lock(&task->sighand->siglock); ptrace_attach()
381 spin_unlock(&task->sighand->siglock); ptrace_attach()
469 else if (ignoring_children(tracer->sighand)) { __ptrace_detach()
665 spin_lock_irq(&child->sighand->siglock); ptrace_peek_siginfo()
672 spin_unlock_irq(&child->sighand->siglock); ptrace_peek_siginfo()
779 spin_lock_irq(&child->sighand->siglock); ptrace_resume()
783 spin_unlock_irq(&child->sighand->siglock); ptrace_resume()
913 spin_lock_irq(&child->sighand->siglock); ptrace_request()
915 spin_unlock_irq(&child->sighand->siglock); ptrace_request()
H A Dseccomp.c209 assert_spin_locked(&current->sighand->siglock); seccomp_may_assign_mode()
220 assert_spin_locked(&task->sighand->siglock); seccomp_assign_mode()
248 * Expects sighand and cred_guard_mutex locks to be held.
259 assert_spin_locked(&current->sighand->siglock); seccomp_can_sync_threads()
290 * Expects sighand and cred_guard_mutex locks to be held, and for
300 assert_spin_locked(&current->sighand->siglock); seccomp_sync_threads()
418 * Caller must be holding current->sighand->siglock lock.
428 assert_spin_locked(&current->sighand->siglock); seccomp_attach_filter()
733 spin_lock_irq(&current->sighand->siglock); seccomp_set_mode_strict()
745 spin_unlock_irq(&current->sighand->siglock); seccomp_set_mode_strict()
788 spin_lock_irq(&current->sighand->siglock); seccomp_set_mode_filter()
801 spin_unlock_irq(&current->sighand->siglock); seccomp_set_mode_filter()
886 spin_lock_irq(&task->sighand->siglock); seccomp_get_filter()
931 spin_unlock_irq(&task->sighand->siglock); seccomp_get_filter()
940 spin_unlock_irq(&task->sighand->siglock); seccomp_get_filter()
H A Dexit.c87 struct sighand_struct *sighand; __exit_signal() local
91 sighand = rcu_dereference_check(tsk->sighand, __exit_signal()
93 spin_lock(&sighand->siglock); __exit_signal()
148 tsk->sighand = NULL; __exit_signal()
149 spin_unlock(&sighand->siglock); __exit_signal()
151 __cleanup_sighand(sighand); __exit_signal()
864 struct sighand_struct *const sighand = current->sighand; do_group_exit() local
866 spin_lock_irq(&sighand->siglock); do_group_exit()
875 spin_unlock_irq(&sighand->siglock); do_group_exit()
1052 spin_lock_irq(&current->sighand->siglock); wait_task_zombie()
1077 spin_unlock_irq(&current->sighand->siglock); wait_task_zombie()
1154 * non-zero. Also, grabs and releases @p->sighand->siglock.
1180 spin_lock_irq(&p->sighand->siglock); wait_task_stopped()
1195 spin_unlock_irq(&p->sighand->siglock); wait_task_stopped()
1259 spin_lock_irq(&p->sighand->siglock); wait_task_continued()
1262 spin_unlock_irq(&p->sighand->siglock); wait_task_continued()
1268 spin_unlock_irq(&p->sighand->siglock); wait_task_continued()
H A Dkcmp.c154 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); SYSCALL_DEFINE5()
H A Dfork.c200 /* SLAB cache for sighand_struct structures (tsk->sighand) */
357 * the sighand lock in case orig has changed between now and dup_task_struct()
1072 atomic_inc(&current->sighand->count); copy_sighand()
1076 rcu_assign_pointer(tsk->sighand, sig); copy_sighand()
1081 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); copy_sighand()
1085 void __cleanup_sighand(struct sighand_struct *sighand) __cleanup_sighand() argument
1087 if (atomic_dec_and_test(&sighand->count)) { __cleanup_sighand()
1088 signalfd_cleanup(sighand); __cleanup_sighand()
1093 kmem_cache_free(sighand_cachep, sighand); __cleanup_sighand()
1170 * Must be called with sighand->lock held, which is common to copy_seccomp()
1175 assert_spin_locked(&current->sighand->siglock); copy_seccomp()
1184 * sighand lock. The seccomp state and nnp must be in sync. copy_seccomp()
1191 * flags and between before we held the sighand lock, we have copy_seccomp()
1549 spin_lock(&current->sighand->siglock); copy_process()
1553 * before holding sighand lock. copy_process()
1567 spin_unlock(&current->sighand->siglock); copy_process()
1607 spin_unlock(&current->sighand->siglock); copy_process()
1638 __cleanup_sighand(p->sighand); copy_process()
1841 struct sighand_struct *sighand = data; sighand_ctor() local
1843 spin_lock_init(&sighand->siglock); sighand_ctor()
1844 init_waitqueue_head(&sighand->signalfd_wqh); sighand_ctor()
1898 if (atomic_read(&current->sighand->count) > 1) check_unshare_flags()
H A Dpid_namespace.c199 spin_lock_irq(&me->sighand->siglock); zap_pid_ns_processes()
200 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; zap_pid_ns_processes()
201 spin_unlock_irq(&me->sighand->siglock); zap_pid_ns_processes()
H A Dtaskstats.c263 spin_lock_irqsave(&tsk->sighand->siglock, flags); fill_tgid_exit()
275 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); fill_tgid_exit()
593 spin_lock_irq(&tsk->sighand->siglock); taskstats_tgid_alloc()
598 spin_unlock_irq(&tsk->sighand->siglock); taskstats_tgid_alloc()
H A Dacct.c453 spin_lock_irq(&current->sighand->siglock); fill_ac()
463 spin_unlock_irq(&current->sighand->siglock); fill_ac()
548 spin_lock_irq(&current->sighand->siglock); acct_collect()
567 spin_unlock_irq(&current->sighand->siglock); acct_collect()
H A Daudit.c1036 spin_lock(&tsk->sighand->siglock); audit_receive_msg()
1039 spin_unlock(&tsk->sighand->siglock); audit_receive_msg()
1057 spin_lock(&tsk->sighand->siglock); audit_receive_msg()
1064 spin_unlock(&tsk->sighand->siglock); audit_receive_msg()
1887 spin_lock_irq(&tsk->sighand->siglock); audit_log_task_info()
1892 spin_unlock_irq(&tsk->sighand->siglock); audit_log_task_info()
H A Dkmod.c221 spin_lock_irq(&current->sighand->siglock); call_usermodehelper_exec_async()
223 spin_unlock_irq(&current->sighand->siglock); call_usermodehelper_exec_async()
H A Dsys.c1376 /* protect tsk->signal and tsk->sighand from disappearing */ do_prlimit()
1378 if (!tsk->sighand) { do_prlimit()
H A Dcgroup.c1858 spin_lock_irq(&p->sighand->siglock); do_each_thread()
1867 spin_unlock_irq(&p->sighand->siglock); do_each_thread()
/linux-4.4.14/fs/proc/
H A Dtask_nommu.c64 if (current->sighand && atomic_read(&current->sighand->count) > 1) task_mem()
65 sbytes += kobjsize(current->sighand); task_mem()
67 bytes += kobjsize(current->sighand); task_mem()
H A Dbase.c2152 struct sighand_struct *sighand; member in struct:timers_private
2165 tp->sighand = lock_task_sighand(tp->task, &tp->flags); timers_start()
2166 if (!tp->sighand) timers_start()
2182 if (tp->sighand) { timers_stop()
2184 tp->sighand = NULL; timers_stop()
H A Darray.c248 k = p->sighand->action; collect_sigign_sigcatch()
/linux-4.4.14/fs/autofs4/
H A Dwaitq.c84 spin_lock_irqsave(&current->sighand->siglock, flags); autofs4_write()
87 spin_unlock_irqrestore(&current->sighand->siglock, flags); autofs4_write()
477 spin_lock_irqsave(&current->sighand->siglock, irqflags); autofs4_wait()
481 spin_unlock_irqrestore(&current->sighand->siglock, irqflags); autofs4_wait()
485 spin_lock_irqsave(&current->sighand->siglock, irqflags); autofs4_wait()
488 spin_unlock_irqrestore(&current->sighand->siglock, irqflags); autofs4_wait()
/linux-4.4.14/fs/ncpfs/
H A Dsock.c756 spin_lock_irqsave(&current->sighand->siglock, flags); ncp_do_request()
768 if (current->sighand->action[SIGINT - 1].sa.sa_handler == SIG_DFL) ncp_do_request()
770 if (current->sighand->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL) ncp_do_request()
775 spin_unlock_irqrestore(&current->sighand->siglock, flags); ncp_do_request()
779 spin_lock_irqsave(&current->sighand->siglock, flags); ncp_do_request()
782 spin_unlock_irqrestore(&current->sighand->siglock, flags); ncp_do_request()
/linux-4.4.14/arch/mips/kernel/
H A Dprocess.c627 spin_lock_irq(&task->sighand->siglock); mips_set_process_fp_mode()
636 spin_unlock_irq(&task->sighand->siglock); for_each_thread()
638 spin_lock_irq(&task->sighand->siglock); for_each_thread()
642 spin_unlock_irq(&task->sighand->siglock);
/linux-4.4.14/fs/coda/
H A Dupcall.c577 spin_lock_irq(&current->sighand->siglock); coda_block_signals()
586 spin_unlock_irq(&current->sighand->siglock); coda_block_signals()
591 spin_lock_irq(&current->sighand->siglock); coda_unblock_signals()
594 spin_unlock_irq(&current->sighand->siglock); coda_unblock_signals()
/linux-4.4.14/arch/ia64/kernel/
H A Dsignal.c301 spin_lock_irqsave(&current->sighand->siglock, flags); force_sigsegv_info()
302 current->sighand->action[sig - 1].sa.sa_handler = SIG_DFL; force_sigsegv_info()
303 spin_unlock_irqrestore(&current->sighand->siglock, flags); force_sigsegv_info()
H A Dptrace.c640 if (child->sighand) { ptrace_attach_sync_user_rbs()
641 spin_lock_irq(&child->sighand->siglock); ptrace_attach_sync_user_rbs()
649 spin_unlock_irq(&child->sighand->siglock); ptrace_attach_sync_user_rbs()
664 if (child->sighand) { ptrace_attach_sync_user_rbs()
665 spin_lock_irq(&child->sighand->siglock); ptrace_attach_sync_user_rbs()
670 spin_unlock_irq(&child->sighand->siglock); ptrace_attach_sync_user_rbs()
H A Dasm-offsets.c59 DEFINE(IA64_TASK_SIGHAND_OFFSET,offsetof (struct task_struct, sighand)); foo()
/linux-4.4.14/kernel/sched/
H A Dstats.h195 if (unlikely(!tsk->sighand)) cputimer_running()
/linux-4.4.14/arch/tile/kernel/
H A Dsignal.c375 tsk->sighand->action[sig-1].sa.sa_handler; trace_unhandled_signal()
/linux-4.4.14/net/9p/
H A Dclient.c785 spin_lock_irqsave(&current->sighand->siglock, flags); p9_client_rpc()
787 spin_unlock_irqrestore(&current->sighand->siglock, flags); p9_client_rpc()
866 spin_lock_irqsave(&current->sighand->siglock, flags); p9_client_zc_rpc()
868 spin_unlock_irqrestore(&current->sighand->siglock, flags); p9_client_zc_rpc()
/linux-4.4.14/kernel/events/
H A Duprobes.c1655 spin_lock_irq(&t->sighand->siglock); uprobe_deny_signal()
1657 spin_unlock_irq(&t->sighand->siglock); uprobe_deny_signal()
1940 spin_lock_irq(&current->sighand->siglock); handle_singlestep()
1942 spin_unlock_irq(&current->sighand->siglock); handle_singlestep()
/linux-4.4.14/net/sunrpc/
H A Dsvc.c1036 spin_lock_irqsave(&current->sighand->siglock, flags); svc_unregister()
1038 spin_unlock_irqrestore(&current->sighand->siglock, flags); svc_unregister()
/linux-4.4.14/security/selinux/
H A Dhooks.c2466 spin_lock_irq(&current->sighand->siglock); selinux_bprm_committed_creds()
2474 spin_unlock_irq(&current->sighand->siglock); selinux_bprm_committed_creds()

Completed in 1228 milliseconds