Searched refs:old_ka (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/mips/kernel/ |
H A 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);
|
H A 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/alpha/kernel/ |
H A 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()
|
/openbmc/linux/kernel/ |
H A D | signal.c | 4485 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE4() local 4511 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE4() 4515 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE4() 4517 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), in COMPAT_SYSCALL_DEFINE4() 4531 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local 4554 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 4555 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 4567 struct k_sigaction new_ka, old_ka; in COMPAT_SYSCALL_DEFINE3() local 4592 __put_user(ptr_to_compat(old_ka.sa.sa_handler), in COMPAT_SYSCALL_DEFINE3() 4594 __put_user(ptr_to_compat(old_ka.sa.sa_restorer), in COMPAT_SYSCALL_DEFINE3() [all …]
|