Searched refs:oact (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-13-stable/lib/libc/sys/
H A Dsigaction.c45 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
49 __libc_interposing[INTERPOS_sigaction])(sig, act, oact));
/freebsd-13-stable/lib/libc/tests/gen/
H A Ddlopen_empty_test.c64 struct sigaction act, oact; local
77 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
H A Dpopen_test.c142 struct sigaction act, oact; local
162 ATF_CHECK_MSG(sigaction(SIGPIPE, &act, &oact) != -1,
180 ATF_CHECK_MSG(sigaction(SIGPIPE, &oact, NULL) != -1,
/freebsd-13-stable/contrib/nvi/cl/
H A Dcl_main.c290 setsig(SIGHUP, &clp->oact[INDX_HUP], h_hup) ||
292 setsig(SIGINT, &clp->oact[INDX_INT], h_int) ||
294 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term)
298 setsig(SIGWINCH, &clp->oact[INDX_WINCH], h_winch)
350 (void)sigaction(SIGHUP, NULL, &clp->oact[INDX_HUP]);
351 (void)sigaction(SIGINT, NULL, &clp->oact[INDX_INT]);
352 (void)sigaction(SIGTERM, NULL, &clp->oact[INDX_TERM]);
354 (void)sigaction(SIGWINCH, NULL, &clp->oact[INDX_WINCH]);
H A Dcl.h50 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
/freebsd-13-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_ffs.c63 struct sigaction act, oact; local
69 sigaction(SIGCHLD, &act, &oact);
71 sigaction(SIGCHLD, &oact, NULL);
H A Dfstest_udf.c63 struct sigaction act, oact; local
72 sigaction(SIGCHLD, &act, &oact);
74 sigaction(SIGCHLD, &oact, NULL);
/freebsd-13-stable/contrib/bmake/
H A Dsigcompat.c169 struct sigaction act, oact; local
177 n = sigaction(sig, &act, &oact);
181 return (oact.sa_handler);
/freebsd-13-stable/usr.bin/cmp/
H A Dregular.c65 struct sigaction act, oact; local
111 if (sigaction(SIGSEGV, &act, &oact))
156 if (sigaction(SIGSEGV, &oact, NULL))
/freebsd-13-stable/lib/libthr/thread/
H A Dthr_sig.c461 struct sigaction act, nact, oact; local
471 error = __sys_sigaction(sig, NULL, &oact);
472 if (error == -1 || oact.sa_handler == SIG_DFL ||
473 oact.sa_handler == SIG_IGN)
476 usa->sigact = oact;
477 nact = oact;
575 __thr_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
619 } else if (oact != NULL) {
627 else if (oact != NULL)
635 if (oact !
[all...]
H A Dthr_private.h994 struct sigaction *oact) __hidden;
/freebsd-13-stable/contrib/apr/threadproc/unix/
H A Dsignals.c76 struct sigaction act, oact; local
103 if (sigaction(signo, &act, &oact) < 0)
105 return oact.sa_handler;
/freebsd-13-stable/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c142 sigaction_t act, oact; local
215 sigaction(SIGTSTP, &act, &oact);
221 sigaction(SIGTSTP, &oact, NULL);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_sigqueue.c190 struct sigaction oact[CNT]; local
199 ATF_REQUIRE(sigaction(ordered[i], &act, &oact[i]) != -1);
229 ATF_REQUIRE(sigaction(signals[i], &oact[i], NULL) != -1);
/freebsd-13-stable/usr.sbin/pppctl/
H A Dpppctl.c281 struct sigaction act, oact; local
292 sigaction(SIGUSR1, &act, &oact);
379 struct sigaction act, oact; local
528 sigaction(SIGALRM, &act, &oact);
536 sigaction(SIGALRM, &oact, 0);
557 sigaction(SIGALRM, &oact, 0);
/freebsd-13-stable/contrib/tnftp/src/
H A Dprogressbar.c431 struct sigaction act, oact;
442 if (sigaction(sig, &act, &oact) < 0)
444 return (oact.sa_handler);
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1280 struct sigaction act, oact; local
1286 if (sigaction(SIGINT, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1289 if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1293 if (sigaction(SIGPIPE, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1296 if (sigaction(SIGUSR1, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1300 if (sigaction(SIGINFO, NULL, &oact)
[all...]
/freebsd-13-stable/tests/sys/fifo/
H A Dfifo_io.c318 struct sigaction act, oact; local
323 bzero(&act, sizeof(oact));
325 if (sigaction(SIGALRM, &act, &oact) < 0) {
333 if (sigaction(SIGALRM, &oact, NULL) < 0) {
358 struct sigaction act, oact; local
363 bzero(&act, sizeof(oact));
365 if (sigaction(SIGALRM, &act, &oact) < 0) {
373 if (sigaction(SIGALRM, &oact, NULL) < 0) {
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_signal.c153 struct sigaction act, oact, *nsa, *osa; local
159 osa = (linux_osa != NULL) ? &oact : NULL;
212 args->oact ? &osa : NULL);
214 if (args->oact != NULL && !error) {
215 error = copyout(&osa, args->oact, sizeof(l_sigaction_t));
/freebsd-13-stable/sys/kern/
H A Dkern_sig.c697 struct sigaction *oact, int flags)
713 if (oact) {
714 memset(oact, 0, sizeof(*oact));
715 oact->sa_mask = ps->ps_catchmask[_SIG_IDX(sig)];
717 oact->sa_flags |= SA_ONSTACK;
719 oact->sa_flags |= SA_RESTART;
721 oact->sa_flags |= SA_RESETHAND;
723 oact->sa_flags |= SA_NODEFER;
725 oact
696 kern_sigaction(struct thread *td, int sig, const struct sigaction *act, struct sigaction *oact, int flags) argument
844 struct sigaction *oact; member in struct:sigaction_args
850 struct sigaction act, oact; local
872 struct sigaction *oact; member in struct:freebsd4_sigaction_args
878 struct sigaction act, oact; local
[all...]
/freebsd-13-stable/sys/i386/linux/
H A Dlinux_machdep.c465 l_sigaction_t act, oact; local
480 args->osa ? &oact : NULL);
483 osa.lsa_handler = oact.lsa_handler;
484 osa.lsa_flags = oact.lsa_flags;
485 osa.lsa_restorer = oact.lsa_restorer;
486 osa.lsa_mask = oact.lsa_mask.__mask;
/freebsd-13-stable/sys/amd64/linux32/
H A Dlinux32_machdep.c494 l_sigaction_t act, oact; local
509 args->osa ? &oact : NULL);
512 osa.lsa_handler = oact.lsa_handler;
513 osa.lsa_flags = oact.lsa_flags;
514 osa.lsa_restorer = oact.lsa_restorer;
515 osa.lsa_mask = oact.lsa_mask.__mask;
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cc.c1853 struct sigaction act, oact; local
1932 (void) sigaction(SIGCHLD, &act, &oact);
1935 (void) sigaction(SIGCHLD, &oact, NULL);
1957 (void) sigaction(SIGCHLD, &oact, NULL);
/freebsd-13-stable/sys/sys/
H A Dsyscallsubr.h294 struct sigaction *oact, int flags);
/freebsd-13-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c2646 if (error == 0 && uap->oact != NULL) {
2650 error = copyout(&s32, uap->oact, sizeof(s32));
2675 if (error == 0 && uap->oact != NULL) {
2679 error = copyout(&s32, uap->oact, sizeof(s32));

Completed in 163 milliseconds

12