/linux-4.4.14/arch/sparc/kernel/ |
D | sys_sparc_32.c | 167 struct old_sigaction __user *,oact) in SYSCALL_DEFINE3() argument 170 return sys_sigaction(-sig, act, oact); in SYSCALL_DEFINE3() 175 struct sigaction __user *, oact, in SYSCALL_DEFINE5() argument 192 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 194 if (!ret && oact) { in SYSCALL_DEFINE5() 195 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
D | sys_sparc32.c | 148 struct compat_old_sigaction __user *,oact) in COMPAT_SYSCALL_DEFINE3() argument 151 return compat_sys_sigaction(-sig, act, oact); in COMPAT_SYSCALL_DEFINE3() 156 struct compat_sigaction __user *,oact, in COMPAT_SYSCALL_DEFINE5() argument 183 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE5() 185 if (!ret && oact) { in COMPAT_SYSCALL_DEFINE5() 187 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 188 ret |= copy_to_user(&oact->sa_mask, &set32, sizeof(compat_sigset_t)); 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()
|
D | sys_sparc_64.c | 618 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument 634 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 636 if (!ret && oact) { in SYSCALL_DEFINE5() 637 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5()
|
/linux-4.4.14/arch/mips/kernel/ |
D | signal32.c | 142 struct compat_sigaction __user *, oact) 164 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 166 if (!ret && oact) { 167 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact))) 169 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 171 &oact->sa_handler); 172 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); 173 err |= __put_user(0, &oact->sa_mask.sig[1]); 174 err |= __put_user(0, &oact->sa_mask.sig[2]); 175 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-4.4.14/arch/alpha/kernel/ |
D | signal.c | 59 struct osf_sigaction __user *, oact) in SYSCALL_DEFINE3() argument 75 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 77 if (!ret && oact) { in SYSCALL_DEFINE3() 78 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact)) || 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() 89 struct sigaction __user *, oact, in SYSCALL_DEFINE5() argument 105 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5() 107 if (!ret && oact) { in SYSCALL_DEFINE5() [all …]
|
/linux-4.4.14/kernel/ |
D | signal.c | 3047 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction() argument 3059 if (oact) in do_sigaction() 3060 *oact = *k; in do_sigaction() 3300 struct sigaction __user *, oact, in SYSCALL_DEFINE4() argument 3315 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in SYSCALL_DEFINE4() 3317 if (!ret && oact) { in SYSCALL_DEFINE4() 3318 if (copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) in SYSCALL_DEFINE4() 3327 struct compat_sigaction __user *, oact, in COMPAT_SYSCALL_DEFINE4() argument 3356 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4() 3357 if (!ret && oact) { in COMPAT_SYSCALL_DEFINE4() [all …]
|
/linux-4.4.14/include/linux/ |
D | compat.h | 392 struct compat_old_sigaction __user *oact);
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 2823 …bash-1998 [000] d... 140.733516: sys_rt_sigaction(sig: 2, act: 7fff718846f0, oact: 7fff71884650…
|