/freebsd-current/tools/test/stress2/misc/ |
H A D | setrlimit.sh | 75 struct sigaction act; 97 if (sigaction(SIGXFSZ, &act, NULL) != 0) 98 err(1, "sigaction");
|
H A D | syzkaller45.sh | 76 struct sigaction sa; 80 sigaction(SIGSEGV, &sa, NULL); 81 sigaction(SIGBUS, &sa, NULL);
|
H A D | syzkaller57.sh | 77 struct sigaction sa; 81 sigaction(SIGSEGV, &sa, NULL); 82 sigaction(SIGBUS, &sa, NULL);
|
H A D | syzkaller61.sh | 67 struct sigaction sa; 71 sigaction(SIGSEGV, &sa, NULL); 72 sigaction(SIGBUS, &sa, NULL);
|
H A D | pkru.sh | 200 struct sigaction sa; 232 if (sigaction(SIGSEGV, &sa, NULL) == -1) 233 err(1, "sigaction"); 455 struct sigaction sa; 473 if (sigaction(SIGSEGV, &sa, NULL) == -1) 474 err(1, "sigaction SIGSEGV"); 475 if (sigaction(SIGBUS, &sa, NULL) == -1) 476 err(1, "sigaction SIGBUS");
|
H A D | syzkaller21.sh | 64 struct sigaction sa; 68 sigaction(SIGSEGV, &sa, NULL); 69 sigaction(SIGBUS, &sa, NULL);
|
/freebsd-current/usr.sbin/bluetooth/hcsecd/ |
H A D | hcsecd.c | 72 struct sigaction sa; 109 if (sigaction(SIGINT, &sa, NULL) < 0) 110 err(1, "Could not sigaction(SIGINT)"); 111 if (sigaction(SIGTERM, &sa, NULL) < 0) 112 err(1, "Could not sigaction(SIGINT)"); 116 if (sigaction(SIGHUP, &sa, NULL) < 0) 117 err(1, "Could not sigaction(SIGHUP)");
|
/freebsd-current/contrib/libevent/ |
H A D | signal.c | 71 have a better way to do signal handling. It uses sigaction() or signal() 218 struct sigaction sa; 260 if (sigaction(evsignal, &sa, sig->sh_old[evsignal]) == -1) { 261 event_warn("sigaction"); 331 struct sigaction *sh; 346 if (sigaction(evsignal, sh, NULL) == -1) { 347 event_warn("sigaction");
|
/freebsd-current/usr.bin/csplit/ |
H A D | csplit.c | 96 struct sigaction sa; 154 sigaction(SIGHUP, &sa, NULL); 155 sigaction(SIGINT, &sa, NULL); 156 sigaction(SIGTERM, &sa, NULL);
|
/freebsd-current/lib/libsys/ |
H A D | interposing_table.c | 59 SLOT(sigaction, __sys_sigaction),
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_timer_create.c | 57 struct sigaction act; 65 (void)memset(&act, 0, sizeof(struct sigaction)); 80 ATF_REQUIRE(sigaction(SIGALRM, &act, NULL) == 0);
|
/freebsd-current/contrib/dma/ |
H A D | util.c | 267 struct sigaction act; 275 if (sigaction(SIGALRM, &act, NULL) != 0) 291 if (sigaction(SIGALRM, &act, NULL) != 0)
|
/freebsd-current/crypto/openssl/crypto/ |
H A D | ppccap.c | 141 struct sigaction ill_oact, ill_act; 267 sigaction(SIGILL, &ill_act, &ill_oact); 313 sigaction(SIGILL, &ill_oact, NULL);
|
/freebsd-current/tools/test/xregs_sig/ |
H A D | xregs_sig.c | 211 struct sigaction sa; 218 if (sigaction(SIGALRM, &sa, NULL) == -1) { 219 fprintf(stderr, "sigaction SIGALRM %s\n", strerror(errno)); 226 if (sigaction(SIGUSR1, &sa, NULL) == -1) { 227 fprintf(stderr, "sigaction SIGUSR1 %s\n", strerror(errno));
|
/freebsd-current/lib/libc/include/ |
H A D | un-namespace.h | 213 #undef sigaction macro 247 int _sigaction(int, const struct sigaction *, struct sigaction *);
|
/freebsd-current/tools/regression/sysvmsg/ |
H A D | msgtest.c | 88 struct sigaction sa; 103 if (sigaction(SIGSYS, &sa, NULL) == -1) 104 err(1, "sigaction SIGSYS"); 113 if (sigaction(SIGCHLD, &sa, NULL) == -1) 114 err(1, "sigaction SIGCHLD");
|
/freebsd-current/tools/regression/sysvsem/ |
H A D | semtest.c | 83 struct sigaction sa; 99 if (sigaction(SIGSYS, &sa, NULL) == -1) 100 err(1, "sigaction SIGSYS"); 109 if (sigaction(SIGCHLD, &sa, NULL) == -1) 110 err(1, "sigaction SIGCHLD");
|
/freebsd-current/lib/libc/tests/gen/ |
H A D | popen_test.c | 139 struct sigaction act, oact; 159 ATF_CHECK_MSG(sigaction(SIGPIPE, &act, &oact) != -1, 160 "sigaction() failed"); 177 ATF_CHECK_MSG(sigaction(SIGPIPE, &oact, NULL) != -1, 178 "sigaction() failed");
|
/freebsd-current/usr.bin/cmp/ |
H A D | regular.c | 56 struct sigaction act, oact; 104 if (sigaction(SIGSEGV, &act, &oact)) 105 err(ERR_EXIT, "sigaction()"); 160 if (sigaction(SIGSEGV, &oact, NULL)) 161 err(ERR_EXIT, "sigaction()");
|
/freebsd-current/lib/libutil/ |
H A D | pw_util.c | 282 struct sigaction sa, sa_int, sa_quit; 295 sigaction(SIGINT, &sa, &sa_int); 296 sigaction(SIGQUIT, &sa, &sa_quit); 304 sigaction(SIGINT, &sa_int, NULL); 305 sigaction(SIGQUIT, &sa_quit, NULL); 339 sigaction(SIGINT, &sa_int, NULL); 340 sigaction(SIGQUIT, &sa_quit, NULL);
|
/freebsd-current/usr.bin/sort/ |
H A D | sort.c | 454 struct sigaction sa; 460 if (sigaction(SIGTERM, &sa, NULL) < 0) { 461 perror("sigaction"); 464 if (sigaction(SIGHUP, &sa, NULL) < 0) { 465 perror("sigaction"); 468 if (sigaction(SIGINT, &sa, NULL) < 0) { 469 perror("sigaction"); 472 if (sigaction(SIGQUIT, &sa, NULL) < 0) { 473 perror("sigaction"); 476 if (sigaction(SIGABR [all...] |
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | main.c | 111 struct sigaction act; 116 sigaction(SIGINT, &act, NULL); 117 sigaction(SIGTERM, &act, NULL); 119 sigaction(SIGHUP, &act, NULL); 120 sigaction(SIGCONT, &act, NULL); 123 sigaction(SIGUSR1, &act, NULL);
|
/freebsd-current/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 186 struct sigaction sa; 202 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1, 203 "sigaction SIGSYS: %d", errno); 401 struct sigaction sa; 418 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1, 419 "sigaction SIGSYS: %d", errno); 606 struct sigaction sa; 621 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1, 622 "sigaction SIGSYS: %d", errno);
|
/freebsd-current/contrib/libpcap/rpcapd/ |
H A D | rpcapd.c | 189 struct sigaction action; 385 sigaction(SIGTERM, &action, NULL); 390 sigaction(SIGCHLD, &action, NULL); 500 sigaction(SIGHUP, &action, NULL); 534 sigaction(SIGINT, &action, NULL); 542 sigaction(SIGHUP, &action, NULL);
|
/freebsd-current/usr.sbin/pppctl/ |
H A D | pppctl.c | 278 struct sigaction act, oact; 289 sigaction(SIGUSR1, &act, &oact); 376 struct sigaction act, oact; 525 sigaction(SIGALRM, &act, &oact); 533 sigaction(SIGALRM, &oact, 0); 554 sigaction(SIGALRM, &oact, 0);
|