Home
last modified time | relevance | path

Searched refs:new_ka (Results 1 – 6 of 6) sorted by relevance

/arch/sparc/kernel/
Dsys_sparc32.c160 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE5() local
171 new_ka.ka_restorer = restorer; in COMPAT_SYSCALL_DEFINE5()
173 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5()
175 sigset_from_compat(&new_ka.sa.sa_mask, &set32); in COMPAT_SYSCALL_DEFINE5()
176 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5()
178 new_ka.sa.sa_restorer = compat_ptr(u_restorer); in COMPAT_SYSCALL_DEFINE5()
183 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5()
Dsys_sparc_32.c179 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
187 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
188 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
192 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
Dsys_sparc_64.c621 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
629 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
630 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
634 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
/arch/alpha/kernel/
Dsignal.c61 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
67 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
68 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
71 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3()
72 new_ka.ka_restorer = NULL; in SYSCALL_DEFINE3()
75 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
92 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
100 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
101 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
105 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
/arch/mips/kernel/
Dsignal32.c318 struct k_sigaction new_ka, old_ka; variable
329 new_ka.sa.sa_handler = (void __user *)(s64)handler;
330 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
335 siginitset(&new_ka.sa.sa_mask, mask);
338 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL);
Dsignal.c551 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
560 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3()
561 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in SYSCALL_DEFINE3()
566 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3()
569 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()