/linux-5.19.10/arch/mips/kernel/ ! |
D | signal32.c | 39 struct compat_sigaction __user *, oact) 61 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 63 if (!ret && oact) { 64 if (!access_ok(oact, sizeof(*oact))) 66 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 68 &oact->sa_handler); 69 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); 70 err |= __put_user(0, &oact->sa_mask.sig[1]); 71 err |= __put_user(0, &oact->sa_mask.sig[2]); 72 err |= __put_user(0, &oact->sa_mask.sig[3]);
|
D | signal.c | 596 struct sigaction __user *, oact) in SYSCALL_DEFINE3() argument 616 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 618 if (!ret && oact) { in SYSCALL_DEFINE3() 619 if (!access_ok(oact, sizeof(*oact))) 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() 624 err |= __put_user(0, &oact->sa_mask.sig[1]); in SYSCALL_DEFINE3() 625 err |= __put_user(0, &oact->sa_mask.sig[2]); in SYSCALL_DEFINE3() 626 err |= __put_user(0, &oact->sa_mask.sig[3]); in SYSCALL_DEFINE3()
|
/linux-5.19.10/arch/sparc/kernel/ ! |
D | sys_sparc_32.c | 163 struct old_sigaction __user *,oact) in SYSCALL_DEFINE3() argument 166 return sys_sigaction(-sig, act, oact); in SYSCALL_DEFINE3() 171 struct sigaction __user *, oact, in SYSCALL_DEFINE5() argument 188 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 190 if (!ret && oact) { in SYSCALL_DEFINE5() 191 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
D | sys_sparc32.c | 142 struct compat_old_sigaction __user *,oact) in COMPAT_SYSCALL_DEFINE3() argument 145 return compat_sys_sigaction(-sig, act, oact); in COMPAT_SYSCALL_DEFINE3() 150 struct compat_sigaction __user *,oact, in COMPAT_SYSCALL_DEFINE5() argument 175 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5() 177 if (!ret && oact) { 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() 180 sizeof(oact->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_64.c | 680 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument 696 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 698 if (!ret && oact) { in SYSCALL_DEFINE5() 699 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/linux-5.19.10/arch/alpha/kernel/ ! |
D | signal.c | 61 struct osf_sigaction __user *, oact) in SYSCALL_DEFINE3() argument 77 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 79 if (!ret && oact) { in SYSCALL_DEFINE3() 80 if (!access_ok(oact, sizeof(*oact)) || 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() 91 struct sigaction __user *, oact, in SYSCALL_DEFINE5() argument 107 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 109 if (!ret && oact) { in SYSCALL_DEFINE5() [all …]
|
/linux-5.19.10/kernel/ ! |
D | signal.c | 4082 struct k_sigaction *oact) in sigaction_compat_abi() argument 4086 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction() argument 4102 if (oact) in do_sigaction() 4103 *oact = *k; in do_sigaction() 4118 if (oact) in do_sigaction() 4119 oact->sa.sa_flags &= UAPI_SA_FLAGS; in do_sigaction() 4121 sigaction_compat_abi(act, oact); in do_sigaction() 4411 struct sigaction __user *, oact, in SYSCALL_DEFINE4() argument 4424 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in SYSCALL_DEFINE4() 4428 if (oact && copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) in SYSCALL_DEFINE4() [all …]
|
/linux-5.19.10/arch/x86/kernel/ ! |
D | signal_compat.c | 180 void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact) in sigaction_compat_abi() argument
|
/linux-5.19.10/include/linux/ ! |
D | ptrace.h | 407 extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact);
|
D | compat.h | 924 struct compat_old_sigaction __user *oact);
|
/linux-5.19.10/Documentation/trace/ ! |
D | ftrace.rst | 3492 …bash-1998 [000] d... 140.733516: sys_rt_sigaction(sig: 2, act: 7fff718846f0, oact: 7fff71884650…
|