/freebsd-10-stable/bin/sh/ |
H A D | trap.c | 259 struct sigaction sa; 332 sigaction(signo, &sa, NULL); 342 struct sigaction sa; 344 if (sigaction(signo, (struct sigaction *)0, &sa) == -1)
|
/freebsd-10-stable/lib/libc/include/ |
H A D | libc_private.h | 312 struct sigaction; 362 int __sys_sigaction(int, const struct sigaction *, 363 struct sigaction *); 381 int __libc_sigaction(int, const struct sigaction *, 382 struct sigaction *) __hidden;
|
/freebsd-10-stable/contrib/sendmail/libsm/ |
H A D | signal.c | 44 struct sigaction n, o; 61 if (sigaction(sig, &n, &o) < 0) 86 if (sigaction(sig, &n, &o) < 0)
|
/freebsd-10-stable/contrib/texinfo/info/ |
H A D | signals.c | 92 typedef struct sigaction signal_info; 98 sigaction (sig, &info_signal_handler, old); 104 sigaction (sig, saved, NULL);
|
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | test-mem.c | 59 struct sigaction sa, osa; 167 sigaction (SIGSEGV, &sa, &osa); 208 sigaction (SIGSEGV, &osa, NULL);
|
/freebsd-10-stable/usr.bin/cmp/ |
H A D | regular.c | 67 struct sigaction act, oact; 82 if (sigaction(SIGSEGV, &act, &oact)) 83 err(ERR_EXIT, "sigaction()"); 145 if (sigaction(SIGSEGV, &oact, NULL)) 146 err(ERR_EXIT, "sigaction()");
|
/freebsd-10-stable/tools/regression/sysvshm/ |
H A D | shmtest.c | 69 struct sigaction sa; 84 if (sigaction(SIGSYS, &sa, NULL) == -1) 85 err(1, "sigaction SIGSYS"); 94 if (sigaction(SIGCHLD, &sa, NULL) == -1) 95 err(1, "sigaction SIGCHLD");
|
/freebsd-10-stable/lib/libthr/thread/ |
H A D | thr_sig.c | 53 struct sigaction sigact; 67 static void handle_signal(struct sigaction *, int, siginfo_t *, ucontext_t *); 158 struct sigaction act; 180 memcpy(&curthread->deferred_sigact, &act, sizeof(struct sigaction)); 192 handle_signal(struct sigaction *actp, int sig, siginfo_t *info, ucontext_t *ucp) 325 struct sigaction act; 403 struct sigaction act, nact, oact; 448 struct sigaction *actp; 450 struct sigaction kact; 517 __thr_sigaction(int sig, const struct sigaction *ac [all...] |
/freebsd-10-stable/crypto/heimdal/lib/asn1/ |
H A D | check-common.c | 213 struct sigaction sa, osa; 232 sigaction (SIGSEGV, &sa, &osa); 338 sigaction (SIGSEGV, &osa, NULL); 366 struct sigaction sa, osa; 385 sigaction (SIGSEGV, &sa, &osa); 417 sigaction (SIGSEGV, &osa, NULL);
|
/freebsd-10-stable/tests/sys/mqueue/ |
H A D | mqtest5.c | 33 struct sigaction sa; 49 sigaction(SIGRTMIN, &sa, NULL);
|
/freebsd-10-stable/contrib/netbsd-tests/fs/fifofs/ |
H A D | t_fifo.c | 99 struct sigaction action; 107 if (sigaction(SIGCHLD, &action, NULL) == -1) 108 err(1, "sigaction");
|
/freebsd-10-stable/contrib/tcsh/ |
H A D | tw.help.c | 136 struct sigaction osa, sa; 144 (void)sigaction(SIGINT, &sa, &osa);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/setjmp/ |
H A D | t_threadjmp.c | 104 struct sigaction sa; 123 REQUIRE_ERRNO(sigaction(SIGABRT, &sa, NULL) != -1);
|
H A D | t_setjmp.c | 99 struct sigaction sa; 117 REQUIRE_ERRNO(sigaction(SIGABRT, &sa, NULL) != -1);
|
/freebsd-10-stable/contrib/libreadline/ |
H A D | signals.c | 69 typedef struct sigaction sighandler_cxt; 70 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh) 252 struct sigaction act; 258 sigaction (sig, &act, &old_handler);
|
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | CrashRecoveryContext.cpp | 236 static struct sigaction PrevActions[NumSignals]; 279 struct sigaction Handler; 285 sigaction(Signals[i], &Handler, &PrevActions[i]); 299 sigaction(Signals[i], &PrevActions[i], 0);
|
/freebsd-10-stable/contrib/nvi/cl/ |
H A D | cl.h | 50 struct sigaction oact[INDX_MAX];
|
/freebsd-10-stable/usr.sbin/bluetooth/hcseriald/ |
H A D | hcseriald.c | 66 struct sigaction sa; 125 if (sigaction(SIGTERM, &sa, NULL) < 0) { 126 syslog(LOG_ERR, "Could not sigaction(SIGTERM). %s (%d)", 131 if (sigaction(SIGHUP, &sa, NULL) < 0) { 132 syslog(LOG_ERR, "Could not sigaction(SIGHUP). %s (%d)", 137 if (sigaction(SIGINT, &sa, NULL) < 0) { 138 syslog(LOG_ERR, "Could not sigaction(SIGINT). %s (%d)",
|
/freebsd-10-stable/lib/libc/stdlib/ |
H A D | system.c | 63 struct sigaction ign, intact, quitact;
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_fpsetmask.c | 222 struct sigaction sa; 234 sigaction(SIGFPE, &sa, 0); 259 struct sigaction sa; 271 sigaction(SIGFPE, &sa, 0);
|
/freebsd-10-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 75 struct sigaction sa; 161 if (sigaction(SIGTERM, &sa, NULL) < 0) 162 err(1, "Could not sigaction(SIGTERM)"); 164 if (sigaction(SIGHUP, &sa, NULL) < 0) 165 err(1, "Could not sigaction(SIGHUP)"); 167 if (sigaction(SIGINT, &sa, NULL) < 0) 168 err(1, "Could not sigaction(SIGINT)"); 173 if (sigaction(SIGCHLD, &sa, NULL) < 0) 174 err(1, "Could not sigaction(SIGCHLD)");
|
/freebsd-10-stable/contrib/ntp/util/ |
H A D | ntptime.c | 68 static struct sigaction newsigsys; /* new sigaction status */ 69 static struct sigaction sigsys; /* current sigaction status */ 212 * Test to make sure the sigaction() works in case of invalid 217 if (sigaction(SIGSYS, &newsigsys, &sigsys)) { 218 perror("sigaction() fails to save SIGSYS trap"); 238 printf("sigaction() failed to catch an invalid syscall\n"); 382 if (sigaction(SIGSYS, &sigsys, (struct sigaction *)NUL [all...] |
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | machines.c | 200 * Note that this solution assumes that sigaction(SIGALRM) is called before 202 * sigaction(SIGALRM) after calling setitimer(), it will be necessary to trap 203 * those sigaction() calls. 219 struct sigaction oldact; /* SIGALRM state saved by setitimer */ 247 sigaction(SIGALRM, &setitimer_mpe_ctx.oldact, NULL); 270 struct sigaction newact; 302 if (sigaction(SIGALRM, NULL, &setitimer_mpe_ctx.oldact) < 0) { 313 if (sigaction(SIGALRM, &newact, NULL) < 0) {
|
/freebsd-10-stable/contrib/openbsm/bin/auditd/ |
H A D | auditd.c | 418 struct sigaction action; 431 if (sigaction(SIGTERM, &action, NULL) != 0) { 436 if (sigaction(SIGCHLD, &action, NULL) != 0) { 441 if (sigaction(SIGHUP, &action, NULL) != 0) { 446 if (sigaction(SIGALRM, &action, NULL) != 0) {
|
/freebsd-10-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 203 struct sigaction sa; 219 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1, 220 "sigaction SIGSYS: %d", errno); 231 ATF_REQUIRE_MSG(sigaction(SIGCHLD, &sa, NULL) != -1, 232 "sigaction SIGCHLD: %d", errno); 442 struct sigaction sa; 458 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1, 459 "sigaction SIGSYS: %d", errno); 470 ATF_REQUIRE_MSG(sigaction(SIGCHLD, &sa, NULL) != -1, 471 "sigaction SIGCHL [all...] |