Home
last modified time | relevance | path

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

/Linux-v6.6/arch/mips/kernel/
Dsignal32.c41 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);
Dsignal.c598 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-v6.6/arch/sparc/kernel/
Dsys_sparc32.c154 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()
Dsys_sparc_32.c175 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()
Dsys_sparc_64.c683 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-v6.6/arch/alpha/kernel/
Dsignal.c63 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-v6.6/kernel/
Dsignal.c4476 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 …]