Lines Matching refs:sa_handler

71 	return t->sighand->action[sig - 1].sa.sa_handler;  in sig_handler()
532 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()
547 if (force_default || ka->sa.sa_handler != SIG_IGN) in flush_signal_handlers()
548 ka->sa.sa_handler = SIG_DFL; in flush_signal_handlers()
560 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
1347 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task()
1350 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task()
1362 if (action->sa.sa_handler == SIG_DFL && in force_sig_info_to_task()
2124 (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN || in do_notify_parent()
2142 if (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) in do_notify_parent()
2218 if (sighand->action[SIGCHLD-1].sa.sa_handler != SIG_IGN && in do_notify_parent_cldstop()
2799 if (ka->sa.sa_handler == SIG_IGN) /* Do nothing. */ in get_signal()
2801 if (ka->sa.sa_handler != SIG_DFL) { in get_signal()
2806 ka->sa.sa_handler = SIG_DFL; in get_signal()
4112 current->sighand->action[sig - 1].sa.sa_handler = action; in kernel_sigaction()
4497 ret = get_user(handler, &act->sa_handler); in COMPAT_SYSCALL_DEFINE4()
4498 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE4()
4511 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE4()
4512 &oact->sa_handler); in COMPAT_SYSCALL_DEFINE4()
4537 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
4552 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3()
4574 __get_user(handler, &act->sa_handler) || in COMPAT_SYSCALL_DEFINE3()
4583 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE3()
4592 __put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE3()
4593 &oact->sa_handler) || in COMPAT_SYSCALL_DEFINE3()
4636 new_sa.sa.sa_handler = handler; in SYSCALL_DEFINE2()
4642 return ret ? ret : (unsigned long)old_sa.sa.sa_handler; in SYSCALL_DEFINE2()