/freebsd/tests/sys/kern/ |
H A D | prace.c | 50 sigaddset(&set1, SIGINT); in child() 52 signal(SIGINT, handler); in child() 68 if (ret == 0 && caught[SIGINT]) { in child() 73 signal(SIGINT, SIG_DFL); in child() 74 raise(SIGINT); in child() 78 caught[SIGINT] = 0; in child() 108 if (kill(pid, SIGINT) != 0) { in prace()
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 295 oldintr = signal(SIGINT, cmdabort); in command() 318 (*oldintr) (SIGINT); in command() 319 signal (SIGINT, oldintr); in command() 339 sigaction (SIGINT, &sa, &osa); in getreply() 349 sigaction (SIGINT, &osa, NULL); in getreply() 399 sigaction (SIGINT, &osa, NULL); in getreply() 406 osa.sa_handler (SIGINT); in getreply() 456 oldintr = signal (SIGINT, cmdabort); 483 signal (SIGINT, oldintr); 547 signal (SIGINT, oldintr); [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | netwait | 48 trap break SIGINT 65 trap - SIGINT 82 trap break SIGINT 94 trap - SIGINT 105 trap - SIGINT
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilDarwin.cpp | 56 if (sigaction(SIGINT, &IgnoreSignalAction, &OldSigIntAction) == -1) { in ExecuteCommand() 57 Printf("Failed to ignore SIGINT\n"); in ExecuteCommand() 64 (void)sigaction(SIGINT, &OldSigIntAction, NULL); in ExecuteCommand() 76 (void)sigaction(SIGINT, &OldSigIntAction, NULL); in ExecuteCommand() 93 (void)sigaddset(&DefaultSigSet, SIGINT); in ExecuteCommand() 141 if (sigaction(SIGINT, &OldSigIntAction, NULL) == -1) { in ExecuteCommand() 142 Printf("Failed to restore SIGINT handling\n"); in ExecuteCommand()
|
/freebsd/usr.bin/tip/tip/ |
H A D | cmds.c | 162 f = signal(SIGINT, intcopy); in transfer() 195 signal(SIGINT, f); in transfer() 256 signal(SIGINT, SIG_IGN); in stopsnd() 304 f = signal(SIGINT, stopsnd); in transmit() 376 signal(SIGINT, f); in transmit() 478 signal(SIGINT, SIG_IGN); in pipeout() 498 signal(SIGINT, SIG_DFL); in pipeout() 508 signal(SIGINT, SIG_DFL); in pipeout() 531 signal(SIGINT, SIG_IGN); in consh() 552 signal(SIGINT, SIG_DFL); in consh() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | signal.c | 211 case SIGINT: 277 mask |= sigmask(SIGINT); 292 (void) sigset(SIGINT, SIG_HOLD); 301 (void) sigset(SIGINT, SIG_DFL); 312 (void) sigaddset(&sset, SIGINT);
|
/freebsd/bin/dd/ |
H A D | misc.c | 163 terminate(SIGINT); in sigint_handler() 176 error = sigaction(SIGINT, &sa, 0); in prepare_io() 187 terminate(SIGINT); in before_io() 196 terminate(SIGINT); in after_io()
|
/freebsd/contrib/less/ |
H A D | signal.c | 49 LSIGNAL(SIGINT, SIG_ACK); in u_interrupt() 51 LSIGNAL(SIGINT, u_interrupt); in u_interrupt() 155 (void) LSIGNAL(SIGINT, u_interrupt); in init_signals() 180 (void) LSIGNAL(SIGINT, SIG_DFL); in init_signals()
|
/freebsd/tests/sys/kqueue/ |
H A D | kqueue_fork.c | 51 error = sigaction(SIGINT, &sa, NULL); in ATF_TC_BODY() 63 EV_SET(&ev, SIGINT, EVFILT_SIGNAL, EV_ADD | EV_ENABLE, 0, 0, in ATF_TC_BODY() 75 error = kill(pid, SIGINT); in ATF_TC_BODY()
|
/freebsd/usr.bin/mail/ |
H A D | collect.c | 82 (void)sigaddset(&nset, SIGINT); in collect() 85 if ((saveint = signal(SIGINT, SIG_IGN)) != SIG_IGN) in collect() 86 (void)signal(SIGINT, collint); in collect() 221 collint(SIGINT); in collect() 476 (void)signal(SIGINT, saveint); in collect() 536 sig_t sigint = signal(SIGINT, SIG_IGN); in mesedit() 544 (void)signal(SIGINT, sigint); in mesedit() 558 sig_t sigint = signal(SIGINT, SIG_IGN); in mespipe() 592 (void)signal(SIGINT, sigint); in mespipe()
|
H A D | main.c | 310 if ((prevint = signal(SIGINT, SIG_IGN)) != SIG_IGN) in main() 311 (void)signal(SIGINT, hdrstop); in main() 317 (void)signal(SIGINT, prevint); in main() 326 (void)signal(SIGINT, SIG_IGN); in main()
|
H A D | tty.c | 86 if ((saveint = signal(SIGINT, SIG_IGN)) == SIG_DFL) in grabh() 87 (void)signal(SIGINT, SIG_DFL); in grabh() 101 saveint = signal(SIGINT, ttyint); in grabh() 155 (void)signal(SIGINT, saveint); in grabh()
|
/freebsd/contrib/tnftp/src/ |
H A D | ftp.c | 348 oldsigint = xsignal(SIGINT, cmdabort); in command() 358 (*oldsigint)(SIGINT); in command() 359 (void)xsignal(SIGINT, oldsigint); in command() 383 oldsigint = xsignal(SIGINT, cmdabort); in getreply() 421 (void)xsignal(SIGINT, oldsigint); in getreply() 441 (void)xsignal(SIGINT, oldsigint); in getreply() 504 (void)xsignal(SIGINT, oldsigint); in getreply() 509 (*oldsigint)(SIGINT); in getreply() 512 (*oldsigalrm)(SIGINT); in getreply() 705 oldintr = xsignal(SIGINT, abortxfer); in sendrequest() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | system.c | 67 (void)sigaddset(&newsigblock, SIGINT); in __libc_system() 95 (void)__libc_sigaction(SIGINT, &ign, &intact); in __libc_system() 101 (void)__libc_sigaction(SIGINT, &intact, NULL); in __libc_system()
|
/freebsd/bin/sh/ |
H A D | error.c | 114 signal(SIGINT, SIG_DFL); in onint() 115 kill(getpid(), SIGINT); in onint() 116 _exit(128 + SIGINT); in onint()
|
H A D | trap.c | 266 case SIGINT: in setsignal() 374 if (signo == SIGINT && trap[SIGINT] == NULL) { in onsig() 383 if (signo == SIGINT || signo == SIGQUIT) in onsig() 470 setsignal(SIGINT); in trap_init()
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | signal.c | 101 (void) sigaddset(&set, SIGINT); 138 case SIGINT: 172 (void) sigaddset(&set, SIGINT);
|
/freebsd/contrib/tcsh/ |
H A D | tc.sig.h | 124 sigaction(SIGINT, NULL, &(sv)[0]); \ 132 sigaddset(&m__, SIGINT); \ 144 sigaction(SIGINT, &(sv)[0], NULL); \
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_pdkill.c | 71 signal(SIGINT, handle_signal); in test_pdkill() 83 error = pdkill(pd, SIGINT); in test_pdkill()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_common.c | 56 sigaction(SIGINT, &sa, NULL); in setup_signal() 64 signal(SIGINT, sigterm); in setup_signal()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfconvert.c | 158 sighold(SIGINT); in main() 222 sigset(SIGINT, handle_sig); in main() 226 signal(SIGINT, handle_sig); in main()
|
/freebsd/tools/test/stress2/misc/ |
H A D | rename9.sh | 85 kill(spid, SIGINT); 158 kill(spid, SIGINT); 164 kill(spid, SIGINT);
|
/freebsd/lib/libc/gen/ |
H A D | siglist.c | 37 [SIGINT] = "INT", 72 [SIGINT] = "Interrupt",
|
/freebsd/cddl/lib/libdtrace/ |
H A D | signal.d | 28 inline int SIGINT = 2; variable 29 #pragma D binding "1.0" SIGINT 96 signal == SIGINT ? "SIGINT" :
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | interrupts_test.cpp | 183 check_interrupts_handler(SIGINT, true); in ATF_TEST_CASE_BODY() 184 check_interrupts_handler(SIGINT, false); in ATF_TEST_CASE_BODY() 244 check_interrupts_inhibiter(SIGINT); in ATF_TEST_CASE_BODY()
|