/Linux-v4.19/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(VERIFY_WRITE, 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 | 555 struct sigaction __user *, oact) in SYSCALL_DEFINE3() argument 575 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 577 if (!ret && oact) { in SYSCALL_DEFINE3() 578 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact))) 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() 583 err |= __put_user(0, &oact->sa_mask.sig[1]); in SYSCALL_DEFINE3() 584 err |= __put_user(0, &oact->sa_mask.sig[2]); in SYSCALL_DEFINE3() 585 err |= __put_user(0, &oact->sa_mask.sig[3]); in SYSCALL_DEFINE3()
|
/Linux-v4.19/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 | 143 struct compat_old_sigaction __user *,oact) in COMPAT_SYSCALL_DEFINE3() argument 146 return compat_sys_sigaction(-sig, act, oact); in COMPAT_SYSCALL_DEFINE3() 151 struct compat_sigaction __user *,oact, in COMPAT_SYSCALL_DEFINE5() argument 176 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5() 178 if (!ret && oact) { in COMPAT_SYSCALL_DEFINE5() 179 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 180 ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, in COMPAT_SYSCALL_DEFINE5() 181 sizeof(oact->sa_mask)); in COMPAT_SYSCALL_DEFINE5() 182 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5() 183 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
D | sys_sparc_64.c | 619 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument 635 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 637 if (!ret && oact) { in SYSCALL_DEFINE5() 638 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/Linux-v4.19/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(VERIFY_WRITE, 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-v4.19/kernel/ |
D | signal.c | 3413 struct k_sigaction *oact) in sigaction_compat_abi() argument 3417 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction() argument 3429 if (oact) in do_sigaction() 3430 *oact = *k; in do_sigaction() 3432 sigaction_compat_abi(act, oact); in do_sigaction() 3694 struct sigaction __user *, oact, in SYSCALL_DEFINE4() argument 3707 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in SYSCALL_DEFINE4() 3711 if (oact && copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) in SYSCALL_DEFINE4() 3719 struct compat_sigaction __user *, oact, in COMPAT_SYSCALL_DEFINE4() argument 3746 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | signal_compat.c | 164 void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact) in sigaction_compat_abi() argument 169 if (oact) in sigaction_compat_abi() 170 oact->sa.sa_flags &= ~(SA_IA32_ABI | SA_X32_ABI); in sigaction_compat_abi()
|
/Linux-v4.19/include/linux/ |
D | compat.h | 982 struct compat_old_sigaction __user *oact);
|
/Linux-v4.19/Documentation/trace/ |
D | ftrace.rst | 3288 …bash-1998 [000] d... 140.733516: sys_rt_sigaction(sig: 2, act: 7fff718846f0, oact: 7fff71884650…
|