/linux-6.12.1/arch/mips/kernel/ |
D | signal32.c | 40 struct compat_sigaction __user *, oact) 62 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 64 if (!ret && oact) { 65 if (!access_ok(oact, sizeof(*oact))) 67 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 69 &oact->sa_handler); 70 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); 71 err |= __put_user(0, &oact->sa_mask.sig[1]); 72 err |= __put_user(0, &oact->sa_mask.sig[2]); 73 err |= __put_user(0, &oact->sa_mask.sig[3]);
|
D | signal.c | 597 struct sigaction __user *, oact) in SYSCALL_DEFINE3() argument 617 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 619 if (!ret && oact) { in SYSCALL_DEFINE3() 620 if (!access_ok(oact, sizeof(*oact))) in SYSCALL_DEFINE3() 622 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3() 623 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3() 624 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3() 625 err |= __put_user(0, &oact->sa_mask.sig[1]); in SYSCALL_DEFINE3() 626 err |= __put_user(0, &oact->sa_mask.sig[2]); in SYSCALL_DEFINE3() 627 err |= __put_user(0, &oact->sa_mask.sig[3]); in SYSCALL_DEFINE3()
|
/linux-6.12.1/arch/sparc/kernel/ |
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_32.c | 162 struct old_sigaction __user *,oact) in SYSCALL_DEFINE3() argument 165 return sys_sigaction(-sig, act, oact); in SYSCALL_DEFINE3() 170 struct sigaction __user *, oact, in SYSCALL_DEFINE5() argument 187 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 189 if (!ret && oact) { in SYSCALL_DEFINE5() 190 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
D | sys_sparc_64.c | 676 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument 692 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 694 if (!ret && oact) { in SYSCALL_DEFINE5() 695 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/linux-6.12.1/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-6.12.1/kernel/ |
D | signal.c | 4166 struct k_sigaction *oact) in sigaction_compat_abi() argument 4170 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction() argument 4186 if (oact) in do_sigaction() 4187 *oact = *k; in do_sigaction() 4202 if (oact) in do_sigaction() 4203 oact->sa.sa_flags &= UAPI_SA_FLAGS; in do_sigaction() 4205 sigaction_compat_abi(act, oact); in do_sigaction() 4495 struct sigaction __user *, oact, in SYSCALL_DEFINE4() argument 4508 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in SYSCALL_DEFINE4() 4512 if (oact && copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) in SYSCALL_DEFINE4() [all …]
|
/linux-6.12.1/include/linux/ |
D | ptrace.h | 402 extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact);
|
D | compat.h | 857 struct compat_old_sigaction __user *oact);
|
/linux-6.12.1/arch/x86/kernel/ |
D | signal_64.c | 398 void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact) in sigaction_compat_abi() argument
|
/linux-6.12.1/Documentation/trace/ |
D | ftrace.rst | 3703 …bash-1998 [000] d... 140.733516: sys_rt_sigaction(sig: 2, act: 7fff718846f0, oact: 7fff71884650…
|