Home
last modified time | relevance | path

Searched refs:SIGUSR1 (Results 1 – 25 of 96) sorted by relevance

1234

/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_read.c43 assert(kill(pid, SIGUSR1) == 0); in main()
49 if (info[0].ssi_signo != SIGUSR1) { in main()
50 test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGUSR1); in main()
81 assert(kill(pid, SIGUSR1) == 0); in main()
88 if (info[0].ssi_signo != SIGUSR1) { in main()
89 test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGUSR1); in main()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c219 case SIGUSR1:
279 mask |= sigmask(SIGUSR1);
294 (void) sigset(SIGUSR1, SIG_HOLD);
303 (void) sigset(SIGUSR1, SIG_DFL);
314 (void) sigaddset(&sset, SIGUSR1);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c826 (void) sigaddset(&block_set, SIGUSR1); in flusht()
828 (void) kill(writepid, SIGUSR1); /* tell writer to flush */ in flusht()
829 (void) sigpause(SIGUSR1); /* wait for SIGUSR1 from writer */ in flusht()
848 (void) sighold(SIGUSR1); in rollforward()
883 (void) kill(archivepid, SIGUSR1); in rollforward()
885 (void) signal(SIGUSR1, SIG_IGN); in rollforward()
886 (void) sigrelse(SIGUSR1); in rollforward()
887 (void) kill(writepid, SIGUSR1); /* tell writer to exit */ in rollforward()
900 (void) kill(writepid, SIGUSR1); /* tell writer to exit */ in rollforward()
946 (void) sigrelse(SIGUSR1); in rollforward()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmsig.c57 (void) sigdelset(&cset, SIGUSR1); in catch_signals()
79 (void) sigaddset(&sigact.sa_mask, SIGUSR1); in catch_signals()
80 (void) sigaction(SIGUSR1, &sigact, NULL); in catch_signals()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.d30 /pid == 0 && args[1]->pr_pid == $1 && args[2] == SIGUSR1/
36 /pid == $1 && args[0] == SIGUSR1 && sent/
H A Dtst.signal.ksh40 args[1]->pr_psargs == "$longsleep" && args[2] == SIGUSR1/
49 /target == pid && args[0] == SIGUSR1/
H A Dtst.sigwait.c44 ev.sigev_signo = SIGUSR1; in main()
53 (void) sigaddset(&set, SIGUSR1); in main()
/illumos-gate/usr/src/cmd/ldmad/
H A Dldmad.c501 if (sig != SIGUSR1 || sinfo->si_code != SI_USER || in ldma_sigusr_handler()
536 if (sigaction(SIGUSR1, &action, NULL) == -1) { in ldma_start()
541 if (sigrelse(SIGUSR1) == -1) { in ldma_start()
570 if (sighold(SIGUSR1) == -1) { in ldma_start()
575 if (sigignore(SIGUSR1) == -1) { in ldma_start()
629 if (kill(getppid(), SIGUSR1) == -1) in ldma_start()
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Darc4random_forksig.c61 ret = sigaction(SIGUSR1, &sact, NULL); in main()
72 ret = raise(SIGUSR1); in main()
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Drights.c471 send_and_wait(pid, &set, SIGUSR1, SIGUSR2); in server()
483 send_and_wait(pid, &set, SIGUSR1, SIGUSR2); in server()
641 sigaddset(&set, SIGUSR1); in client()
644 send_and_wait(pid, &set, 0, SIGUSR1); in client()
655 send_and_wait(pid, &set, SIGUSR2, SIGUSR1); in client()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtimer.c80 (void) sighold(SIGUSR1); in timer()
142 (void) sigrelse(SIGUSR1); in timer()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.ret2.c53 (void) signal(SIGUSR1, handle); in main()
H A Dtst.ret1.c59 (void) signal(SIGUSR1, handle); in main()
H A Dtst.weak1.c53 (void) signal(SIGUSR1, handle); in main()
H A Dtst.weak2.c53 (void) signal(SIGUSR1, handle); in main()
H A Dtst.args1.c47 (void) signal(SIGUSR1, handle); in main()
H A Dtst.ret1.d47 raise(SIGUSR1);
H A Dtst.ret2.d47 raise(SIGUSR1);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dsignal.c237 #ifdef SIGUSR1
239 "User signal 1", "USR1", SIGUSR1,
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_main.c264 (void) sigaction(SIGUSR1, &act, NULL); in main()
269 (void) sigdelset(&set, SIGUSR1); in main()
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.c227 if (sig != SIGUSR1) { in vntsd_sig_handler()
538 (void) sigaction(SIGUSR1, &act, NULL); in main()
676 (void) thr_kill(vntsdp->tid, SIGUSR1); in vntsd_vcc_err()
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c313 (void) sigaction(SIGUSR1, &sa, NULL); in main()
505 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
515 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
570 (void) sigsend(P_PID, masterpid, SIGUSR1); in main_loop()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DPosixDaemon.c161 mDNSPosixListenForSignalInEventLoop(SIGUSR1); in MainLoop()
191 if (sigismember(&signals, SIGUSR1)) ToggleLog(); in MainLoop()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Dsignals.c222 #ifdef SIGUSR1
223 "USR1", VAL(SIGUSR1,SH_SIGDONE), S("User signal 1"),
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dmain.c155 case SIGUSR1: in sighandler()
206 (void) sigaddset(&sigwaitset, SIGUSR1); in block_signals()

1234