/freebsd-13-stable/lib/libc/sys/ |
H A D | sigaction.c | 45 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 D | dlopen_empty_test.c | 64 struct sigaction act, oact; local 77 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
|
H A D | popen_test.c | 142 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 D | cl_main.c | 290 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 D | cl.h | 50 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
|
/freebsd-13-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ffs.c | 63 struct sigaction act, oact; local 69 sigaction(SIGCHLD, &act, &oact); 71 sigaction(SIGCHLD, &oact, NULL);
|
H A D | fstest_udf.c | 63 struct sigaction act, oact; local 72 sigaction(SIGCHLD, &act, &oact); 74 sigaction(SIGCHLD, &oact, NULL);
|
/freebsd-13-stable/contrib/bmake/ |
H A D | sigcompat.c | 169 struct sigaction act, oact; local 177 n = sigaction(sig, &act, &oact); 181 return (oact.sa_handler);
|
/freebsd-13-stable/usr.bin/cmp/ |
H A D | regular.c | 65 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 D | thr_sig.c | 461 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 D | thr_private.h | 994 struct sigaction *oact) __hidden;
|
/freebsd-13-stable/contrib/apr/threadproc/unix/ |
H A D | signals.c | 76 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 D | lib_tstp.c | 142 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 D | t_sigqueue.c | 190 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 D | pppctl.c | 281 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 D | progressbar.c | 431 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 D | dtrace.c | 1280 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 D | fifo_io.c | 318 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 D | linux_signal.c | 153 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 D | kern_sig.c | 697 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 D | linux_machdep.c | 465 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 D | linux32_machdep.c | 494 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 D | dt_cc.c | 1853 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 D | syscallsubr.h | 294 struct sigaction *oact, int flags);
|
/freebsd-13-stable/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 2646 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));
|