Home
last modified time | relevance | path

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

/kernel/
Dsignal.c48 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
245 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals()
249 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals()
280 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals()
283 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals()
291 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()
304 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers()
316 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
338 spin_lock_irqsave(&current->sighand->siglock, flags); in block_all_signals()
342 spin_unlock_irqrestore(&current->sighand->siglock, flags); in block_all_signals()
[all …]
Ditimer.c51 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer()
55 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer()
58 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer()
73 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer()
78 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer()
93 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer()
154 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer()
163 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
174 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
179 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer()
[all …]
Dfreezer.c43 spin_lock_irq(&current->sighand->siglock); in refrigerator()
45 spin_unlock_irq(&current->sighand->siglock); in refrigerator()
62 spin_lock_irqsave(&p->sighand->siglock, flags); in fake_signal_wake_up()
64 spin_unlock_irqrestore(&p->sighand->siglock, flags); in fake_signal_wake_up()
118 spin_lock_irqsave(&p->sighand->siglock, flags); in cancel_freezing()
120 spin_unlock_irqrestore(&p->sighand->siglock, flags); in cancel_freezing()
Dexit.c95 struct sighand_struct *sighand; in __exit_signal() local
100 sighand = rcu_dereference(tsk->sighand); in __exit_signal()
101 spin_lock(&sighand->siglock); in __exit_signal()
149 tsk->sighand = NULL; in __exit_signal()
150 spin_unlock(&sighand->siglock); in __exit_signal()
152 __cleanup_sighand(sighand); in __exit_signal()
399 spin_lock_irq(&current->sighand->siglock); in allow_signal()
406 current->sighand->action[(sig)-1].sa.sa_handler = (void __user *)2; in allow_signal()
409 spin_unlock_irq(&current->sighand->siglock); in allow_signal()
420 spin_lock_irq(&current->sighand->siglock); in disallow_signal()
[all …]
Dptrace.c61 spin_lock(&child->sighand->siglock); in ptrace_untrace()
69 spin_unlock(&child->sighand->siglock); in ptrace_untrace()
112 spin_lock_irq(&child->sighand->siglock); in ptrace_check_attach()
117 spin_unlock_irq(&child->sighand->siglock); in ptrace_check_attach()
349 if (likely(child->sighand != NULL)) { in ptrace_getsiginfo()
351 spin_lock_irq(&child->sighand->siglock); in ptrace_getsiginfo()
356 spin_unlock_irq(&child->sighand->siglock); in ptrace_getsiginfo()
367 if (likely(child->sighand != NULL)) { in ptrace_setsiginfo()
369 spin_lock_irq(&child->sighand->siglock); in ptrace_setsiginfo()
374 spin_unlock_irq(&child->sighand->siglock); in ptrace_setsiginfo()
Dfork.c773 atomic_inc(&current->sighand->count); in copy_sighand()
777 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand()
781 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand()
785 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument
787 if (atomic_dec_and_test(&sighand->count)) in __cleanup_sighand()
788 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand()
1227 spin_lock(&current->sighand->siglock); in copy_process()
1239 spin_unlock(&current->sighand->siglock); in copy_process()
1273 spin_unlock(&current->sighand->siglock); in copy_process()
1294 __cleanup_sighand(p->sighand); in copy_process()
[all …]
Dposix-cpu-timers.c22 spin_lock_irq(&current->sighand->siglock); in update_rlimit_cpu()
24 spin_unlock_irq(&current->sighand->siglock); in update_rlimit_cpu()
235 struct sighand_struct *sighand; in thread_group_cputime() local
242 sighand = rcu_dereference(tsk->sighand); in thread_group_cputime()
243 if (!sighand) in thread_group_cputime()
450 spin_lock(&p->sighand->siglock); in posix_cpu_timer_del()
455 spin_unlock(&p->sighand->siglock); in posix_cpu_timer_del()
562 spin_lock(&p->sighand->siglock); in arm_timer()
652 spin_unlock(&p->sighand->siglock); in arm_timer()
752 spin_lock(&p->sighand->siglock); in posix_cpu_timer_set()
[all …]
Dtaskstats.c277 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit()
289 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit()
507 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
512 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
Dacct.c549 spin_lock_irq(&current->sighand->siglock); in do_acct_process()
559 spin_unlock_irq(&current->sighand->siglock); in do_acct_process()
612 spin_lock_irq(&current->sighand->siglock); in acct_collect()
630 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
Dposix-timers.c558 spin_lock_irq(&current->sighand->siglock); in SYSCALL_DEFINE3()
561 spin_unlock_irq(&current->sighand->siglock); in SYSCALL_DEFINE3()
831 spin_lock(&current->sighand->siglock); in SYSCALL_DEFINE1()
833 spin_unlock(&current->sighand->siglock); in SYSCALL_DEFINE1()
Daudit.c467 spin_lock_irq(&tsk->sighand->siglock); in audit_prepare_user_tty()
470 spin_unlock_irq(&tsk->sighand->siglock); in audit_prepare_user_tty()
887 spin_lock_irq(&tsk->sighand->siglock); in audit_receive_msg()
889 spin_unlock_irq(&tsk->sighand->siglock); in audit_receive_msg()
910 spin_lock_irq(&tsk->sighand->siglock); in audit_receive_msg()
912 spin_unlock_irq(&tsk->sighand->siglock); in audit_receive_msg()
Dkmod.c142 spin_lock_irq(&current->sighand->siglock); in ____call_usermodehelper()
146 spin_unlock_irq(&current->sighand->siglock); in ____call_usermodehelper()
Dcompat.c847 spin_lock_irq(&current->sighand->siglock); in compat_sys_rt_sigtimedwait()
859 spin_unlock_irq(&current->sighand->siglock); in compat_sys_rt_sigtimedwait()
863 spin_lock_irq(&current->sighand->siglock); in compat_sys_rt_sigtimedwait()
870 spin_unlock_irq(&current->sighand->siglock); in compat_sys_rt_sigtimedwait()
940 spin_lock_irq(&current->sighand->siglock); in compat_sys_rt_sigsuspend()
944 spin_unlock_irq(&current->sighand->siglock); in compat_sys_rt_sigsuspend()
Dsys.c922 spin_lock_irq(&current->sighand->siglock); in do_sys_times()
925 spin_unlock_irq(&current->sighand->siglock); in do_sys_times()
Dauditsc.c1347 spin_lock_irq(&tsk->sighand->siglock); in audit_log_exit()
1352 spin_unlock_irq(&tsk->sighand->siglock); in audit_log_exit()