Lines Matching refs:handler
61 static int sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored() argument
64 return handler == SIG_IGN || in sig_handler_ignored()
65 (handler == SIG_DFL && sig_kernel_ignore(sig)); in sig_handler_ignored()
70 void __user *handler; in sig_task_ignored() local
72 handler = sig_handler(t, sig); in sig_task_ignored()
79 handler == SIG_DFL && !(force && sig_kernel_only(sig))) in sig_task_ignored()
84 (handler == SIG_KTHREAD_KERNEL) && !force)) in sig_task_ignored()
87 return sig_handler_ignored(handler, sig); in sig_task_ignored()
513 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() local
516 if (handler != SIG_IGN && handler != SIG_DFL) in unhandled_signal()
3425 compat_uptr_t handler; in COMPAT_SYSCALL_DEFINE4() local
3426 ret = get_user(handler, &act->sa_handler); in COMPAT_SYSCALL_DEFINE4()
3427 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE4()
3500 compat_uptr_t handler, restorer; in COMPAT_SYSCALL_DEFINE3() local
3504 __get_user(handler, &act->sa_handler) || in COMPAT_SYSCALL_DEFINE3()
3513 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE3()
3561 SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) in SYSCALL_DEFINE2() argument
3566 new_sa.sa.sa_handler = handler; in SYSCALL_DEFINE2()