/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | terminate.c | 60 if (kill(-ep->pid, SIGTERM) == -1 && errno == ESRCH) { in terminate() 62 ep->status = SIGTERM; in terminate() 83 ep->status = SIGTERM; in terminate() 97 ep->status = SIGTERM; in terminate() 109 ep->status = SIGTERM; in terminate()
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.cat.c | 438 signal(SIGTERM, sigterm); in main() 462 signal(SIGTERM, SIG_IGN); in main() 472 signal(SIGTERM, SIG_IGN); in main() 500 signal(SIGTERM, SIG_IGN); in main() 520 signal(SIGTERM, SIG_IGN); in main() 527 signal(SIGTERM, SIG_IGN); in main() 615 signal(SIGTERM, SIG_IGN); in sighup() 627 signal(SIGTERM, SIG_IGN); in sigint() 639 signal(SIGTERM, SIG_IGN); in sigpipe() 651 signal(SIGTERM, SIG_IGN); in sigalrm() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | signals.c | 52 (void)signal (SIGTERM, SIG_IGN); in catch() 73 SETSIG (SIGTERM); in trap_signals() 80 signal (SIGTERM, old_sigterm); in trap_signals() 107 old_sigterm = signal(SIGTERM, SIG_IGN); in ignore_signals()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | signal.c | 215 case SIGTERM: 278 mask |= sigmask(SIGTERM); 293 (void) sigset(SIGTERM, SIG_HOLD); 302 (void) sigset(SIGTERM, SIG_DFL); 313 (void) sigaddset(&sset, SIGTERM);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | signal.c | 98 (void) sigaddset(&set, SIGTERM); 135 case SIGTERM: 171 (void) sigaddset(&set, SIGTERM);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsig.c | 53 (void) sigdelset(&cset, SIGTERM); in catch_signals() 64 (void) sigaddset(&sigact.sa_mask, SIGTERM); in catch_signals() 65 (void) sigaction(SIGTERM, &sigact, NULL); in catch_signals()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 62 static int script_signal = SIGTERM; 327 (void) sigset(SIGTERM, sigterm_handler); in script_start() 387 (void) kill(dsmp->dsm_script_pid, SIGTERM); in script_stop() 388 (void) kill(dsmp->dsm_script_helper_pid, SIGTERM); in script_stop()
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tipout.c | 105 (void) signal(SIGTERM, (sig_handler_t)intTERM); in tipout() 117 (void) sigaddset(&bmask, SIGTERM); in tipout() 121 (void) sigaddset(&tmask, SIGTERM); in tipout()
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 90 (void) set_sig_handler(SIGTERM, SIG_IGN); in quit_daemon() 92 (void) kill(-pgid, SIGTERM); in quit_daemon() 197 (void) set_sig_handler(SIGTERM, (SigHandler *)quit_daemon); in init_daemon()
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 190 if (set_sig_handler(SIGTERM, (sig_handler_t *)daemon_quit) != 0) { in daemon_init() 222 (void) set_sig_handler(SIGTERM, SIG_IGN); in daemon_quit() 224 (void) kill(-pgid, SIGTERM); in daemon_quit()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 123 (void) sigaddset(&sigset, SIGTERM); in sig_handler() 149 case SIGTERM: in sig_handler() 176 (void) sigaddset(&sigset, SIGTERM); in thr_init()
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | pm.c | 393 power_button = mevent_add(SIGTERM, EVF_SIGNAL, in smi_cmd_handler() 395 old_power_handler = signal(SIGTERM, SIG_IGN); in smi_cmd_handler() 405 signal(SIGTERM, old_power_handler); in smi_cmd_handler() 439 (void) sigaction(SIGTERM, &act, NULL); in sci_init()
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpshut.c | 166 if(signal(SIGTERM, SIG_IGN) != SIG_IGN) in startup() 167 signal(SIGTERM, catch); in startup()
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 264 if (signal(SIGTERM, SIG_IGN) != SIG_IGN) in main() 266 (void) signal((int)SIGTERM, onsig); in main() 268 (void) signal(SIGTERM, onsig); in main() 612 if (sig == SIGTERM || sig == SIGHUP || sig == SIGINT) in onsig()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_svc.c | 625 sighold(SIGTERM); in unregister() 626 kill(-getpid(), SIGTERM); /* kill process group (i.e., children) */ in unregister() 627 sigrelse(SIGTERM); in unregister() 639 for (i = 1; i <= SIGTERM; i++) { in set_signal_handlers()
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 235 (void) sigaddset(&set, SIGTERM); in main() 237 while (signal_caught != SIGTERM) in main() 326 (void) kill(pid, SIGTERM); in main() 738 (void) sigaddset(&set, SIGTERM); in signal_thread() 749 case SIGTERM: in signal_thread()
|
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 308 (void) sigaction(SIGTERM, &sa, NULL); in main() 444 (void) sigaction(SIGTERM, &sa, NULL); in setupsigs() 757 (void) sigsend(P_PID, pidlist[i], SIGTERM); in parenthandler() 764 (void) sigaction(SIGTERM, &sa, NULL); in parenthandler() 811 (void) sigaction(SIGTERM, &sa, NULL); in termhandler()
|
/illumos-gate/usr/src/cmd/sgs/error/common/ |
H A D | errormain.c | 191 if (signal(SIGTERM, onintr) == SIG_IGN) in main() 192 (void) signal(SIGTERM, SIG_IGN); in main()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 293 (void) sigaction(SIGTERM, &act, NULL); in init_signals() 298 (void) sigdelset(&set, SIGTERM); in init_signals()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | signal.c | 205 #ifdef SIGTERM 207 "Terminated", "TERM", SIGTERM,
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_main.c | 261 (void) sigaction(SIGTERM, &act, NULL); in main() 266 (void) sigdelset(&set, SIGTERM); in main()
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 243 (void) sigaddset(&sigs, SIGTERM); in main() 251 (void) sigaction(SIGTERM, &act, NULL); in main() 263 case SIGTERM: in main()
|
/illumos-gate/usr/src/cmd/killall/ |
H A D | killall.c | 52 sig = SIGTERM; in main()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | PosixDaemon.c | 160 mDNSPosixListenForSignalInEventLoop(SIGTERM); in MainLoop() 195 if (sigismember(&signals, SIGINT) || sigismember(&signals, SIGTERM)) break; in MainLoop()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | main.c | 161 case SIGTERM: in sighandler() 208 (void) sigaddset(&sigwaitset, SIGTERM); in block_signals()
|