Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dsys_sparc32.c160 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()
Dsys_sparc_32.c179 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()
Dsys_sparc_64.c625 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE5() local
638 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()
641 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
/arch/alpha/kernel/
Dsignal.c61 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/
Dsignal32.c144 struct k_sigaction new_ka, old_ka; variable
164 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL);
169 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags);
170 err |= __put_user((u32)(u64)old_ka.sa.sa_handler,
172 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig);
Dsignal.c557 struct k_sigaction new_ka, old_ka; in SYSCALL_DEFINE3() local
575 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
580 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3()
581 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3()
582 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3()