Searched refs:SIGTERM (Results 26 - 50 of 270) sorted by relevance

1234567891011

/freebsd-11-stable/lib/libsysdecode/
H A Dsignal.c50 [SIGTERM] = "SIGTERM",
/freebsd-11-stable/contrib/nvi/cl/
H A Dcl_main.c279 clp->killersig = SIGTERM;
310 sigaddset(&__sigblockset, SIGTERM) ||
311 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term)
324 setsig(SIGTERM, NULL, h_term)
369 (void)sigaction(SIGTERM, NULL, &clp->oact[INDX_TERM]);
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c232 kill(pid, SIGTERM);
306 kill(pid, SIGTERM);
382 kill(pid, SIGTERM);
463 kill(pid, SIGTERM);
567 kill(pid1, SIGTERM);
569 kill(pid2, SIGTERM);
649 kill(pid, SIGTERM);
722 kill(pid, SIGTERM);
798 kill(pid, SIGTERM);
870 kill(pid, SIGTERM);
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dreadpassphrase.c121 (void)__libc_sigaction(SIGTERM, &sa, &saveterm);
159 (void)__libc_sigaction(SIGTERM, &saveterm, NULL);
/freebsd-11-stable/tools/regression/netinet/tcpsockclosebeforeaccept/
H A Dtcpsockclosebeforeaccept.c184 (void)kill(child_pid, SIGTERM);
198 (void)kill(child_pid, SIGTERM);
/freebsd-11-stable/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c123 kill(childpid, SIGTERM);
196 kill(childpid, SIGTERM);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c131 (void)sigaction(SIGTERM, &sa, &saveterm);
173 (void)sigaction(SIGTERM, &saveterm, NULL);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_select.c98 if (sigaction(SIGTERM, &sa, NULL) == -1)
155 if (kill(pid, SIGTERM) == -1)
H A Dt_wait.c120 ATF_REQUIRE(kill(pid, SIGTERM) == 0);
122 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM);
123 ATF_REQUIRE(si.si_status == SIGTERM);
/freebsd-11-stable/sbin/reboot/
H A Dreboot.c180 (void)signal(SIGTERM, SIG_IGN);
203 /* Send a SIGTERM first, a chance to save the buffers. */
204 if (kill(-1, SIGTERM) == -1 && errno != ESRCH)
205 err(1, "SIGTERM processes");
209 * buffers on their way. Wait 5 seconds between the SIGTERM and
/freebsd-11-stable/contrib/gdb/gdb/signals/
H A Dsignals.c70 {"SIGTERM", "Terminated"},
333 #if defined (SIGTERM)
334 if (hostsig == SIGTERM)
586 #if defined (SIGTERM)
588 return SIGTERM;
/freebsd-11-stable/libexec/rpc.rstatd/
H A Drstatd.c84 (void) signal(SIGTERM, cleanup);
/freebsd-11-stable/usr.sbin/daemon/
H A Ddaemon.c197 * catch SIGTERM and forward it to the children expecting to
206 /* Avoid PID racing with SIGCHLD and SIGTERM. */
215 sigaddset(&act_chld.sa_mask, SIGTERM);
219 sigaddset(&mask_susp, SIGTERM);
221 /* Block SIGTERM when we lack a valid child PID. */
223 sigaddset(&mask_term, SIGTERM);
225 * When reading, we wish to avoid SIGCHLD. SIGTERM
231 /* Block SIGTERM to avoid racing until we have forked. */
236 if (sigaction(SIGTERM, &act_term, NULL) == -1) {
267 * Unblock SIGTERM afte
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Ddotlock.c137 (void)sigaddset(&nset, SIGTERM);
/freebsd-11-stable/contrib/xz/src/xz/
H A Dsignals.c59 SIGTERM,
/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c72 case SIGTERM:
73 return "SIGTERM";
256 && (sig == SIGINT || sig == SIGTERM)) {
399 CatchIfDefault(SIGTERM, handle_SIGINT);
/freebsd-11-stable/contrib/libreadline/
H A Dsignals.c86 SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP, SIGTTIN, and SIGTTOU. */
148 case SIGTERM:
331 rl_maybe_set_sighandler (SIGTERM, rl_signal_handler, &old_term);
390 rl_sigaction (SIGTERM, &old_term, &dummy);
/freebsd-11-stable/usr.bin/timeout/
H A Dtimeout.c136 case SIGTERM:
169 int killsig = SIGTERM;
181 SIGTERM,
/freebsd-11-stable/contrib/amd/amd/
H A Damd.c87 * SIGTERM - tells amd to shutdown now. Just unmounts the automount nodes.
101 case SIGTERM:
469 /* SIGTERM: trap terminate so we can shutdown cleanly (some chance) */
470 setup_sighandler(SIGTERM, sigterm);
482 sigaddset(&masked_sigs, SIGTERM);
/freebsd-11-stable/usr.bin/rsh/
H A Drsh.c216 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM));
221 if (signal(SIGTERM, SIG_IGN) != SIG_IGN)
222 (void)signal(SIGTERM, sendsig);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpm.c112 * receiving SIGTERM.
284 power_button = mevent_add(SIGTERM, EVF_SIGNAL,
286 old_power_handler = signal(SIGTERM, SIG_IGN);
294 signal(SIGTERM, old_power_handler);
/freebsd-11-stable/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c155 M(M(SIGQUIT, SIGTERM), \
238 (void)sigaction(SIGTERM, &sa, &saveterm);
284 (void)sigaction(SIGTERM, &saveterm, NULL);
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dsignals.c38 /* SIGTERM's don't work too well in OS/2 (only affects other EMX
42 if (signum == SIGTERM) {
199 #ifdef SIGTERM
200 store_desc(SIGTERM, "Terminated");
/freebsd-11-stable/release/picobsd/tinyware/oinit/
H A Doinit.c360 case SIGTERM:
457 signal(SIGTERM,SIG_DFL);
530 signal(SIGTERM,shell_sig);
581 signal(SIGTERM,SIG_DFL);
774 static int sigs[2]={SIGTERM,SIGKILL};
830 case SIGTERM:
939 signal(SIGTERM,transition_handler);
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c74 case SIGTERM:
125 sigaction(SIGTERM, &action, &saction_sigterm);
196 sigaction(SIGTERM, &saction_sigterm, NULL);

Completed in 374 milliseconds

1234567891011