Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/kernel/
Dsignal32.c41 struct k_sigaction new_ka, old_ka; variable
52 new_ka.sa.sa_handler = (void __user *)(s64)handler;
53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
58 siginitset(&new_ka.sa.sa_mask, mask);
61 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL);
Dsignal.c586 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
595 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3()
596 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in SYSCALL_DEFINE3()
601 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3()
604 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
/Linux-v5.4/arch/sparc/kernel/
Dsys_sparc32.c155 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE5() local
165 new_ka.ka_restorer = restorer; in COMPAT_SYSCALL_DEFINE5()
167 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5()
168 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE5()
169 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5()
171 new_ka.sa.sa_restorer = compat_ptr(u_restorer); in COMPAT_SYSCALL_DEFINE5()
176 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5()
Dsys_sparc_32.c175 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
183 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
184 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
188 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
Dsys_sparc_64.c682 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
690 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
691 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
695 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
/Linux-v5.4/arch/alpha/kernel/
Dsignal.c63 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
69 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
70 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
73 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3()
74 new_ka.ka_restorer = NULL; in SYSCALL_DEFINE3()
77 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
94 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
102 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
103 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
107 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
/Linux-v5.4/kernel/
Dsignal.c4258 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE4() local
4271 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE4()
4274 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4()
4276 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE4()
4277 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE4()
4282 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4()
4304 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
4310 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
4311 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer) || in SYSCALL_DEFINE3()
4312 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
[all …]