/linux-4.1.27/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.1.27/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.1.27/arch/mips/kernel/ |
D | signal.c | 316 struct sigaction __user *, oact) in SYSCALL_DEFINE3() argument 336 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3() 338 if (!ret && oact) { in SYSCALL_DEFINE3() 339 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact))) in SYSCALL_DEFINE3() 341 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3() 342 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3() 343 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3() 344 err |= __put_user(0, &oact->sa_mask.sig[1]); in SYSCALL_DEFINE3() 345 err |= __put_user(0, &oact->sa_mask.sig[2]); in SYSCALL_DEFINE3() 346 err |= __put_user(0, &oact->sa_mask.sig[3]); in SYSCALL_DEFINE3()
|
D | signal32.c | 317 struct compat_sigaction __user *, oact) 339 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 341 if (!ret && oact) { 342 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact))) 344 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 346 &oact->sa_handler); 347 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); 348 err |= __put_user(0, &oact->sa_mask.sig[1]); 349 err |= __put_user(0, &oact->sa_mask.sig[2]); 350 err |= __put_user(0, &oact->sa_mask.sig[3]);
|
/linux-4.1.27/kernel/ |
D | signal.c | 3101 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction() argument 3113 if (oact) in do_sigaction() 3114 *oact = *k; in do_sigaction() 3354 struct sigaction __user *, oact, in SYSCALL_DEFINE4() argument 3369 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in SYSCALL_DEFINE4() 3371 if (!ret && oact) { in SYSCALL_DEFINE4() 3372 if (copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) in SYSCALL_DEFINE4() 3381 struct compat_sigaction __user *, oact, in COMPAT_SYSCALL_DEFINE4() argument 3410 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in COMPAT_SYSCALL_DEFINE4() 3411 if (!ret && oact) { in COMPAT_SYSCALL_DEFINE4() [all …]
|
/linux-4.1.27/include/linux/ |
D | compat.h | 392 struct compat_old_sigaction __user *oact);
|
/linux-4.1.27/Documentation/trace/ |
D | ftrace.txt | 2770 …bash-1998 [000] d... 140.733516: sys_rt_sigaction(sig: 2, act: 7fff718846f0, oact: 7fff71884650…
|