Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c592 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
601 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3()
602 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in SYSCALL_DEFINE3()
607 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3()
610 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc32.c154 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE5() local
164 new_ka.ka_restorer = restorer; in COMPAT_SYSCALL_DEFINE5()
166 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5()
167 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE5()
168 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5()
170 new_ka.sa.sa_restorer = compat_ptr(u_restorer); in COMPAT_SYSCALL_DEFINE5()
175 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.c683 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
691 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
692 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
696 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/
Dsignal.c4272 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE4() local
4285 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE4()
4288 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4()
4290 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE4()
4291 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE4()
4296 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4()
4318 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
4324 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
4325 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer) || in SYSCALL_DEFINE3()
4326 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
[all …]