Searched refs:new_ka (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/arch/mips/kernel/ |
D | signal32.c | 41 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);
|
D | signal.c | 598 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 607 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3() 608 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in SYSCALL_DEFINE3() 613 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3() 616 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | sys_sparc32.c | 154 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()
|
D | sys_sparc_32.c | 175 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()
|
D | sys_sparc_64.c | 683 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()
|
/linux-6.1.9/arch/alpha/kernel/ |
D | signal.c | 63 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-6.1.9/kernel/ |
D | signal.c | 4440 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE4() local 4453 new_ka.sa.sa_handler = compat_ptr(handler); in COMPAT_SYSCALL_DEFINE4() 4456 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4() 4458 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE4() 4459 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE4() 4464 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4() 4486 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 4492 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3() 4493 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer) || in SYSCALL_DEFINE3() 4494 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3() [all …]
|