| /src/lib/libc/gen/ |
| signal.c | 72 struct sigaction act, oact; local 79 if (sigaction(sig, &act, &oact) < 0) 82 return (oact.sa_handler);
|
| /src/tests/fs/common/ |
| fstest_ffs.c | 64 struct sigaction act, oact; local 70 sigaction(SIGCHLD, &act, &oact); 72 sigaction(SIGCHLD, &oact, NULL);
|
| fstest_udf.c | 64 struct sigaction act, oact; local 73 sigaction(SIGCHLD, &act, &oact); 75 sigaction(SIGCHLD, &oact, NULL);
|
| /src/lib/librefuse/ |
| refuse_signals.c | 160 struct sigaction oact; local 166 if (sigaction(sig, NULL, &oact) != 0) 172 if (!(oact.sa_flags & SA_SIGINFO) || oact.sa_sigaction != handler) 176 if (oact.sa_handler != SIG_IGN)
|
| /src/tests/lib/libc/sys/ |
| t_sigqueue.c | 164 struct sigaction oact[CNT]; local 173 ATF_REQUIRE(sigaction(ordered[i], &act, &oact[i]) != -1); 203 ATF_REQUIRE(sigaction(signals[i], &oact[i], NULL) != -1);
|
| /src/usr.bin/ftp/ |
| progressbar.c | 413 struct sigaction act, oact; local 421 if (sigaction(sig, &act, &oact) < 0) 423 return (oact.sa_handler);
|
| /src/sys/dev/pci/ |
| cmdide.c | 206 uint oact = atomic_cas_uint(&sc->sc_cmd_act_channel, local 210 KASSERT(oact == ochp->ch_channel); 215 if (i == oact)
|
| /src/tests/lib/libpthread/ |
| t_stack.c | 212 struct sigaction act, oact; local 221 RL(sigaction(SIGSEGV, &act, &oact)); 222 oactsave = oact; 227 oact = oactsave; 229 RL(sigaction(SIGSEGV, &oact, NULL)); 245 struct sigaction act, oact; local 254 RL(sigaction(SIGSEGV, &act, &oact)); 255 oactsave = oact; 260 oact = oactsave; 262 RL(sigaction(SIGSEGV, &oact, NULL)) [all...] |
| /src/external/bsd/nvi/dist/cl/ |
| cl.h | 63 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
|
| /src/external/bsd/top/dist/machine/ |
| m_hpux10.c | 620 struct sigaction oact; local 625 if (sigaction (sig, &act, &oact) < 0) 627 return oact.sa_handler;
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| dispatcher.c | 259 struct sigaction oact; local 260 if (__collector_sigaction (SIGPROF, NULL, &oact) != 0) 262 if (oact.sa_sigaction == collector_sigprof_dispatcher) 335 __collector_sigaction (int sig, const struct sigaction *nact, struct sigaction *oact) 345 return CALL_REAL (sigaction)(sig, nact, oact); 822 sigaction (int sig, const struct sigaction *nact, struct sigaction *oact) 833 if (oact != NULL) 835 oact->sa_handler = original_sigprof_handler.sa_handler; 836 oact->sa_mask = original_sigprof_handler.sa_mask; 837 oact->sa_flags = original_sigprof_handler.sa_flags 889 struct sigaction oact; local [all...] |
| hwprofile.c | 396 struct sigaction oact; local 397 if (__collector_sigaction (HWCFUNCS_SIGNAL, NULL, &oact) != 0) 399 TprintfT (0, "hwc_initialize_handlers(): ERROR: hwc_initialize_handlers(): __collector_sigaction() failed to get oact\n"); 403 if (oact.sa_sigaction == collector_sigemt_handler) 669 struct sigaction *oact) 687 /* dispatcher is in place, so nact/oact apply to old_sigemt_handler */ 688 if (oact != NULL) 690 oact->sa_handler = old_sigemt_handler.sa_handler; 691 oact->sa_mask = old_sigemt_handler.sa_mask; 692 oact->sa_flags = old_sigemt_handler.sa_flags [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| dispatcher.c | 259 struct sigaction oact; local 260 if (__collector_sigaction (SIGPROF, NULL, &oact) != 0) 262 if (oact.sa_sigaction == collector_sigprof_dispatcher) 335 __collector_sigaction (int sig, const struct sigaction *nact, struct sigaction *oact) 345 return CALL_REAL (sigaction)(sig, nact, oact); 822 sigaction (int sig, const struct sigaction *nact, struct sigaction *oact) 833 if (oact != NULL) 835 oact->sa_handler = original_sigprof_handler.sa_handler; 836 oact->sa_mask = original_sigprof_handler.sa_mask; 837 oact->sa_flags = original_sigprof_handler.sa_flags 889 struct sigaction oact; local [all...] |
| hwprofile.c | 396 struct sigaction oact; local 397 if (__collector_sigaction (HWCFUNCS_SIGNAL, NULL, &oact) != 0) 399 TprintfT (0, "hwc_initialize_handlers(): ERROR: hwc_initialize_handlers(): __collector_sigaction() failed to get oact\n"); 403 if (oact.sa_sigaction == collector_sigemt_handler) 669 struct sigaction *oact) 687 /* dispatcher is in place, so nact/oact apply to old_sigemt_handler */ 688 if (oact != NULL) 690 oact->sa_handler = old_sigemt_handler.sa_handler; 691 oact->sa_mask = old_sigemt_handler.sa_mask; 692 oact->sa_flags = old_sigemt_handler.sa_flags [all...] |
| /src/external/cddl/osnet/dist/cmd/dtrace/ |
| dtrace.c | 1281 struct sigaction act, oact; local 1287 if (sigaction(SIGINT, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1290 if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1294 if (sigaction(SIGPIPE, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1297 if (sigaction(SIGUSR1, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1301 if (sigaction(SIGINFO, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN [all...] |
| /src/bin/csh/ |
| csh.c | 203 struct sigaction oact; local 367 (void)sigaction(SIGINT, NULL, &oact); 368 parintr = oact.sa_handler; 369 (void)sigaction(SIGTERM, NULL, &oact); 370 parterm = oact.sa_handler;
|
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| 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);
|
| /src/external/gpl2/gmake/dist/ |
| main.c | 531 struct sigaction act, oact; 536 if (sigaction (sig, &act, &oact) != 0) 538 return oact.sa_handler; 527 struct sigaction act, oact; local
|