Searched refs:old_ka (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/arch/mips/kernel/ |
D | signal32.c | 41 struct k_sigaction new_ka, old_ka; variable 61 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 66 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 67 err |= __put_user((u32)(u64)old_ka.sa.sa_handler, 69 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig);
|
D | signal.c | 598 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 616 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 621 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3() 622 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3() 623 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | sys_sparc32.c | 154 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE5() local 175 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5() 178 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 179 ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, in COMPAT_SYSCALL_DEFINE5() 181 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5() 182 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
D | sys_sparc_32.c | 175 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 188 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 191 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
D | sys_sparc_64.c | 683 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 696 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 699 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | signal.c | 63 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 77 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 81 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 82 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 83 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 94 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local 107 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 110 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/linux-6.6.21/kernel/ |
D | signal.c | 4476 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE4() local 4500 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4() 4502 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE4() 4504 ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, in COMPAT_SYSCALL_DEFINE4() 4506 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE4() 4508 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), in COMPAT_SYSCALL_DEFINE4() 4522 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 4539 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 4543 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 4544 __put_user(old_ka.sa.sa_restorer, &oact->sa_restorer) || in SYSCALL_DEFINE3() [all …]
|