Lines Matching refs:old
26 extern bool intercept_sigaction(int signo, const struct sigaction *restrict sa, struct sigaction *restrict old);
44 int __libc_sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old)
87 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8);
92 if (old && !r) {
93 old->sa_handler = ksa_old.handler;
94 old->sa_flags = ksa_old.flags;
95 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8);
100 int __sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old)
107 if (intercept_sigaction(sig, sa, old)) {
111 return __libc_sigaction(sig, sa, old);