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

12

/freebsd-11-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-11-stable/crypto/openssl/crypto/
H A Ds390xcap.c21 struct sigaction ill_act, oact; local
34 sigaction(SIGILL, &ill_act, &oact);
40 sigaction(SIGILL, &oact, NULL);
/freebsd-11-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-11-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-11-stable/contrib/nvi/cl/
H A Dcl_main.c307 setsig(SIGHUP, &clp->oact[INDX_HUP], h_hup) ||
309 setsig(SIGINT, &clp->oact[INDX_INT], h_int) ||
311 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term)
315 setsig(SIGWINCH, &clp->oact[INDX_WINCH], h_winch)
367 (void)sigaction(SIGHUP, NULL, &clp->oact[INDX_HUP]);
368 (void)sigaction(SIGINT, NULL, &clp->oact[INDX_INT]);
369 (void)sigaction(SIGTERM, NULL, &clp->oact[INDX_TERM]);
371 (void)sigaction(SIGWINCH, NULL, &clp->oact[INDX_WINCH]);
H A Dcl.h50 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
/freebsd-11-stable/contrib/bmake/
H A Dsigcompat.c169 struct sigaction act, oact; local
177 n = sigaction(sig, &act, &oact);
181 return (oact.sa_handler);
/freebsd-11-stable/usr.bin/cmp/
H A Dregular.c67 struct sigaction act, oact; local
82 if (sigaction(SIGSEGV, &act, &oact))
145 if (sigaction(SIGSEGV, &oact, NULL))
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_sig.c404 struct sigaction act, nact, oact; local
414 error = __sys_sigaction(sig, NULL, &oact);
415 if (error == -1 || oact.sa_handler == SIG_DFL ||
416 oact.sa_handler == SIG_IGN)
419 usa->sigact = oact;
420 nact = oact;
518 __thr_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
562 } else if (oact != NULL) {
570 else if (oact != NULL)
578 if (oact !
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c141 sigaction_t act, oact; local
212 sigaction(SIGTSTP, &act, &oact);
218 sigaction(SIGTSTP, &oact, NULL);
/freebsd-11-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-11-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-11-stable/usr.sbin/pppctl/
H A Dpppctl.c279 struct sigaction act, oact; local
290 sigaction(SIGUSR1, &act, &oact);
377 struct sigaction act, oact; local
526 sigaction(SIGALRM, &act, &oact);
534 sigaction(SIGALRM, &oact, 0);
555 sigaction(SIGALRM, &oact, 0);
/freebsd-11-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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1279 struct sigaction act, oact; local
1285 if (sigaction(SIGINT, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1288 if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1292 if (sigaction(SIGPIPE, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1295 if (sigaction(SIGUSR1, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
1299 if (sigaction(SIGINFO, NULL, &oact)
[all...]
/freebsd-11-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-11-stable/sys/kern/
H A Dkern_sig.c684 struct sigaction *oact, int flags)
700 if (oact) {
701 memset(oact, 0, sizeof(*oact));
702 oact->sa_mask = ps->ps_catchmask[_SIG_IDX(sig)];
704 oact->sa_flags |= SA_ONSTACK;
706 oact->sa_flags |= SA_RESTART;
708 oact->sa_flags |= SA_RESETHAND;
710 oact->sa_flags |= SA_NODEFER;
712 oact
683 kern_sigaction(struct thread *td, int sig, const struct sigaction *act, struct sigaction *oact, int flags) argument
831 struct sigaction *oact; member in struct:sigaction_args
837 struct sigaction act, oact; local
859 struct sigaction *oact; member in struct:freebsd4_sigaction_args
865 struct sigaction act, oact; local
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_xenix.h59 char oact_l_[PADL_(struct ibcs2_sigaction *)]; struct ibcs2_sigaction * oact; char oact_r_[PADR_(struct ibcs2_sigaction *)]; member in struct:ibcs2_sigaction_args
H A Dibcs2_signal.c211 if (error == 0 && uap->oact != NULL) {
213 error = copyout(&isa, uap->oact, sizeof(isa));
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_signal.c118 struct sigaction act, oact, *nsa, *osa; local
124 osa = (linux_osa != NULL) ? &oact : NULL;
176 (void *)args->oact, (long)args->sigsetsize);
190 args->oact ? &osa : NULL);
192 if (args->oact != NULL && !error) {
193 error = copyout(&osa, args->oact, sizeof(l_sigaction_t));
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_machdep.c522 l_sigaction_t act, oact; local
543 args->osa ? &oact : NULL);
546 osa.lsa_handler = oact.lsa_handler;
547 osa.lsa_flags = oact.lsa_flags;
548 osa.lsa_restorer = oact.lsa_restorer;
549 osa.lsa_mask = oact.lsa_mask.__mask;
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_machdep.c488 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-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cc.c1896 struct sigaction act, oact; local
1975 (void) sigaction(SIGCHLD, &act, &oact);
1978 (void) sigaction(SIGCHLD, &oact, NULL);
2000 (void) sigaction(SIGCHLD, &oact, NULL);

Completed in 476 milliseconds

12