Home
last modified time | relevance | path

Searched refs:sigs (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dexit.c95 Signals * sigs; in handler() local
104 for (sigs = signals; sigs->signo; sigs++) { in handler()
105 if (sigs->defhdl == SIG_IGN) in handler()
106 (void) sigaction(sigs->signo, &nact, NULL); in handler()
139 Signals * sigs; in ld_init_sighandler() local
165 for (sigs = signals; sigs->signo; sigs++) { in ld_init_sighandler()
166 if ((sigaction(sigs->signo, NULL, &oact) == 0) && in ld_init_sighandler()
169 if (sigs->defhdl == SIG_DFL) in ld_init_sighandler()
171 (void) sigaction(sigs->signo, &nact, NULL); in ld_init_sighandler()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dssignal.c47 static int (*sigs[MAXSIGNUM-MINSIG+1])(int); variable
55 savefn = sigs[sig-MINSIG]; in ssignal()
56 sigs[sig-MINSIG] = action; in ssignal()
69 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))SIG_DFL) in gsignal()
74 sigs[sig-MINSIG] = (int(*)(int))SIG_DFL; in gsignal()
H A Dsigsetops.c52 static sigset_t sigs; variable
65 (void) __sigfillset(&sigs); in sigvalid()
69 return ((sigs.__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigvalid()
76 (void) __sigfillset(&sigs); in sigfillset()
80 *set = sigs; in sigfillset()
H A Dsyslog.c364 sigset_t sigs; in vsyslog() local
368 (void) sigemptyset(&sigs); in vsyslog()
369 (void) sigaddset(&sigs, SIGALRM); in vsyslog()
370 (void) sigprocmask(SIG_UNBLOCK, &sigs, NULL); in vsyslog()
/titanic_44/usr/src/cmd/iscsid/
H A Discsid.c133 sigset_t sigs, allsigs; in main() local
242 (void) sigemptyset(&sigs); in main()
243 (void) sigaddset(&sigs, SIGTERM); in main()
244 (void) sigaddset(&sigs, SIGINT); in main()
245 (void) sigaddset(&sigs, SIGQUIT); in main()
257 sig = sigwait(&sigs); in main()
/titanic_44/usr/src/uts/common/fs/zev/
H A Dzev_checksums.c17 uint8_t sigs[ZEV_L1_SIZE/ZEV_L0_SIZE][SHA1_DIGEST_LENGTH]; member
261 memcpy(cs->sigs[idx], unknown_sig, SHA1_DIGEST_LENGTH); in zev_chksum_cache_invalidate()
290 if (!memcmp(cs->sigs[idx], unknown_sig, SHA1_DIGEST_LENGTH)) { in zev_chksum_cache_get()
295 memcpy(dst, cs->sigs[idx], SHA1_DIGEST_LENGTH); in zev_chksum_cache_get()
330 memcpy(cs->sigs[idx], sig, SHA1_DIGEST_LENGTH); in zev_chksum_cache_put()
480 uint64_t sigs; in zev_get_result_buffer() local
502 sigs = l1_blocks + l0_blocks; in zev_get_result_buffer()
503 if (sigs == 0) { in zev_get_result_buffer()
509 buflen = sigs * sizeof(zev_sig_t); in zev_get_result_buffer()
/titanic_44/usr/src/cmd/sgs/m4/common/
H A Dm4.c75 int sigs[] = {SIGHUP, SIGINT, SIGPIPE, 0}; in main() local
81 for (i = 0; sigs[i]; ++i) { in main()
82 if (signal(sigs[i], SIG_IGN) != SIG_IGN) in main()
83 (void) signal(sigs[i], catchsig); in main()
/titanic_44/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm891 my (@sigs) = qw(INT QUIT);
898 foreach $sig (@sigs) {
902 foreach $sig (@sigs) {
906 foreach $sig (@sigs) {
/titanic_44/usr/src/lib/libshare/common/
H A Dlibsharecore.c107 sablocksigs(sigset_t *sigs) in sablocksigs() argument
111 if (sigs != NULL) { in sablocksigs()
117 (void) sigprocmask(SIG_SETMASK, &new, sigs); in sablocksigs()
127 saunblocksigs(sigset_t *sigs) in saunblocksigs() argument
129 if (sigs != NULL) in saunblocksigs()
130 (void) sigprocmask(SIG_SETMASK, sigs, NULL); in saunblocksigs()
/titanic_44/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c741 sigset_t sigs; in pselect() local
761 sigprocmask(SIG_SETMASK, sigmask, &sigs); in pselect()
804 sigprocmask(SIG_SETMASK, &sigs, NULL); in pselect()
/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1103 sigset_t sigs; in pselect() local
1112 sigprocmask(SIG_SETMASK, sigmask, &sigs); in pselect()
1115 sigprocmask(SIG_SETMASK, &sigs, NULL); in pselect()
/titanic_44/usr/src/cmd/syslogd/
H A Dsyslogd.c298 sigset_t sigs, allsigs; in main() local
433 (void) sigemptyset(&sigs); in main()
434 (void) sigaddset(&sigs, SIGHUP); /* reconfigure */ in main()
435 (void) sigaddset(&sigs, SIGALRM); /* mark & flush timer */ in main()
436 (void) sigaddset(&sigs, SIGTERM); /* exit */ in main()
437 (void) sigaddset(&sigs, SIGINT); /* exit if debugging */ in main()
438 (void) sigaddset(&sigs, SIGQUIT); /* exit if debugging */ in main()
439 (void) sigaddset(&sigs, SIGPIPE); /* catch & discard */ in main()
440 (void) sigaddset(&sigs, SIGUSR1); /* dump debug stats */ in main()
463 (void) sigwait(&sigs, &sig); in main()
/titanic_44/usr/src/lib/libtecla/common/
H A Dgetline.c405 GlSignalNode *sigs; /* The head of the list of signals */ member
1784 gl->sigs = NULL; in new_GetLine()
2075 gl->sigs = NULL; /* Already freed by freeing sig_mem */ in del_GetLine()
2497 for(sig=gl->sigs; sig; sig=sig->next) { in gl_override_signal_handlers()
2513 for(sig=gl->sigs; sig; sig=sig->next) { in gl_override_signal_handlers()
2554 for(sig=gl->sigs; sig; sig=sig->next) { in gl_restore_signal_handlers()
3411 for(sig=gl->sigs; sig && sig->signo != signo; sig=sig->next) in gl_check_caught_signal()
10149 for(sig=gl->sigs; sig && sig->signo != signo; sig = sig->next)
10162 sig->next = gl->sigs;
10163 gl->sigs = sig;
[all …]
/titanic_44/usr/src/cmd/th_tools/
H A Dth_define.c1602 int *ip, sigs[] = {SIGINT, SIGTERM, 0}; in init_sigs() local
1606 for (ip = sigs; *ip; ip++) in init_sigs()
1609 for (ip = sigs; *ip; ip++) in init_sigs()
/titanic_44/usr/src/uts/intel/io/acpica/
H A Dchanges.txt7372 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.