Searched refs:old_ka (Results 1 – 6 of 6) sorted by relevance
/arch/sparc/kernel/ |
D | sys_sparc32.c | 160 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE5() local 183 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5() 186 sigset_to_compat(&set32, &old_ka.sa.sa_mask); in COMPAT_SYSCALL_DEFINE5() 187 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 189 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5() 190 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
D | sys_sparc_32.c | 179 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 192 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 195 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
D | sys_sparc_64.c | 621 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 634 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 637 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/arch/alpha/kernel/ |
D | signal.c | 61 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 75 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 79 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 80 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 81 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 92 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 105 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 108 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/arch/mips/kernel/ |
D | signal32.c | 318 struct k_sigaction new_ka, old_ka; variable 338 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 343 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 344 err |= __put_user((u32)(u64)old_ka.sa.sa_handler, 346 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig);
|
D | signal.c | 551 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 569 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 574 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3() 575 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3() 576 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3()
|