Home
last modified time | relevance | path

Searched refs:sigset (Results 1 – 25 of 128) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c75 return sigset(sig, handler);
117 handler = sigset(sig, SIG_HOLD);
156 handler = sigset(sig, SIG_HOLD);
289 (void) sigset(SIGALRM, SIG_HOLD);
290 (void) sigset(SIGCHLD, SIG_HOLD);
291 (void) sigset(SIGHUP, SIG_HOLD);
292 (void) sigset(SIGINT, SIG_HOLD);
293 (void) sigset(SIGTERM, SIG_HOLD);
294 (void) sigset(SIGUSR1, SIG_HOLD);
298 (void) sigset(SIGALRM, SIG_DFL);
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid.c116 sigset_t sigset; in sig_handler() local
121 (void) sigemptyset(&sigset); in sig_handler()
122 (void) sigaddset(&sigset, SIGHUP); in sig_handler()
123 (void) sigaddset(&sigset, SIGTERM); in sig_handler()
125 (void) sigaddset(&sigset, SIGINT); in sig_handler()
131 if ((ret = sigtimedwait(&sigset, &si, &tmout)) != 0) { in sig_handler()
166 sigset_t sigset; in thr_init() local
174 (void) thr_sigsetmask(0, NULL, &sigset); in thr_init()
175 (void) sigaddset(&sigset, SIGHUP); in thr_init()
176 (void) sigaddset(&sigset, SIGTERM); in thr_init()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dcollect.c129 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) in collect()
130 sigset(SIGINT, ignintr ? intack : collrub), sigblock(sigmask(SIGINT)); in collect()
131 if ((savehup = sigset(SIGHUP, SIG_IGN)) != SIG_IGN) in collect()
132 sigset(SIGHUP, collrub), sigblock(sigmask(SIGHUP)); in collect()
135 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) in collect()
136 sigset(SIGINT, ignintr ? intack : collrub); in collect()
137 if ((savehup = sigset(SIGHUP, SIG_IGN)) != SIG_IGN) in collect()
138 sigset(SIGHUP, collrub); in collect()
140 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) { in collect()
145 sigset(SIGINT, ignintr ? intack : collrub); in collect()
[all …]
H A Dpopen.c55 #define sigset signal macro
57 extern void (*sigset())();
119 istat = sigset(SIGINT, SIG_IGN); in npclose()
120 qstat = sigset(SIGQUIT, SIG_IGN); in npclose()
125 (void) sigset(SIGINT, istat); in npclose()
126 (void) sigset(SIGQUIT, qstat); in npclose()
H A Dmain.c100 sigset(SIGCONT, SIG_DFL); in main()
415 if ((prevint = sigset(SIGINT, SIG_IGN)) != SIG_IGN) in main()
416 sigset(SIGINT, hdrstop); in main()
419 sigset(SIGINT, prevint); in main()
431 sigset(SIGHUP, SIG_IGN); in main()
432 sigset(SIGINT, SIG_IGN); in main()
433 sigset(SIGQUIT, SIG_IGN); in main()
435 sigset(SIGPIPE, SIG_IGN); in main()
H A Dcmd4.c129 sigint = sigset(SIGINT, SIG_IGN); in dopipe()
130 sigpipe = sigset(SIGPIPE, brokpipe); in dopipe()
145 sigset(SIGPIPE, sigpipe); in dopipe()
146 sigset(SIGINT, sigint); in dopipe()
170 sigset(SIGPIPE, sigpipe); in dopipe()
171 sigset(SIGINT, sigint); in dopipe()
178 sigset(SIGPIPE, sigpipe); in dopipe()
179 sigset(SIGINT, sigint); in dopipe()
H A Dedit.c109 sigint = sigset(SIGINT, SIG_IGN); in edit1()
110 sigquit = sigset(SIGQUIT, SIG_IGN); in edit1()
178 sigset(SIGINT, SIG_DFL); in edit1()
180 sigset(SIGQUIT, SIG_DFL); in edit1()
257 sigset(SIGINT, sigint); in edit1()
258 sigset(SIGQUIT, sigquit); in edit1()
H A Dtty.c124 savecont = sigset(SIGCONT, ttycont); in grabh()
126 savestop = sigset(SIGTSTP, ttystop); in grabh()
155 (void) sigset(SIGCONT, savecont); in grabh()
157 (void) sigset(SIGTSTP, savestop); in grabh()
475 savecont = sigset(SIGCONT, signull); in grabh()
491 if ((savesigs[s-SIGINT] = sigset(s, SIG_IGN)) == SIG_DFL) in grabh()
492 sigset(s, SIG_DFL); in grabh()
540 sigset(SIGCONT, savecont); in grabh()
548 sigset(s, savesigs[s-SIGINT]); in grabh()
600 sigset(SIGCONT, ttycont); in readtty()
[all …]
H A Dtranslate.c71 sigint = sigset(SIGINT, SIG_IGN); in translate()
72 sigquit = sigset(SIGQUIT, SIG_IGN); in translate()
104 sigset(SIGINT, sigint); in translate()
105 sigset(SIGQUIT, sigquit); in translate()
H A Dquit.c280 fhup = sigset(SIGHUP, SIG_IGN); in writeback()
281 fint = sigset(SIGINT, SIG_IGN); in writeback()
282 fquit = sigset(SIGQUIT, SIG_IGN); in writeback()
386 sigset(SIGHUP, fhup); in writeback()
387 sigset(SIGINT, fint); in writeback()
388 sigset(SIGQUIT, fquit); in writeback()
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c246 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
247 (void) sigset(SIGHUP, intr); in main()
248 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
249 (void) sigset(SIGINT, intr); in main()
250 if (sigset(SIGPIPE, SIG_IGN) == SIG_DFL) in main()
251 (void) sigset(SIGPIPE, intr); in main()
252 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
253 (void) sigset(SIGQUIT, intr); in main()
254 (void) sigset(SIGTERM, intr); in main()
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c1559 (void) sigset(SIGINT, terminate_signal); in main()
1560 (void) sigset(SIGQUIT, abort_signal); in main()
1561 (void) sigset(SIGILL, abort_signal); in main()
1562 (void) sigset(SIGEMT, abort_signal); in main()
1563 (void) sigset(SIGFPE, abort_signal); in main()
1564 (void) sigset(SIGBUS, abort_signal); in main()
1565 (void) sigset(SIGSEGV, abort_signal); in main()
1566 (void) sigset(SIGSYS, abort_signal); in main()
1567 (void) sigset(SIGPIPE, terminate_signal); in main()
1568 (void) sigset(SIGALRM, terminate_signal); in main()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c624 (void) sigset(SIGPIPE, (sigdisp_t)lostpeer); in main()
783 (void) sigset(SIGINT, SIG_IGN); in doit()
785 (void) sigset(SIGHUP, exit); in doit()
787 (void) sigset(SIGQUIT, exit); in doit()
812 (void) sigset(SIGURG, copytochild); in doit()
814 (void) sigset(SIGURG, SIG_IGN); in doit()
816 (void) sigset(SIGUSR1, writeroob); in doit()
828 (void) sigset(SIGCHLD, catchild); in doit()
857 (void) sigset(SIGCHLD, SIG_DFL); in done()
894 (void) sigset(SIGWINCH, sigwinch); in writeroob()
[all …]
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c156 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
157 (void) sigset(SIGHUP, intr); in main()
158 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
159 (void) sigset(SIGINT, intr); in main()
160 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
161 (void) sigset(SIGQUIT, intr); in main()
162 (void) sigset(SIGPIPE, intr); in main()
163 (void) sigset(SIGTERM, intr); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c211 (void) sigset(SIGALRM, (void (*)(int))timer); in main()
212 (void) sigset(SIGHUP, (void (*)(int))initifs); in main()
213 (void) sigset(SIGTERM, (void (*)(int))term); in main()
214 (void) sigset(SIGUSR1, (void (*)(int))if_dump); in main()
215 (void) sigset(SIGUSR2, (void (*)(int))rtdump); in main()
/illumos-gate/usr/src/uts/common/sys/
H A Dbrand.h152 #define SIGSET_NATIVE_TO_BRAND(sigset) \ argument
155 BROP(curproc)->b_sigset_native_to_brand(sigset)
156 #define SIGSET_BRAND_TO_NATIVE(sigset) \ argument
159 BROP(curproc)->b_sigset_brand_to_native(sigset)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dmain.c266 (void) sigset(SIGALRM, sigalrm); in main()
381 (void) sigset(SIGHUP, sighup_handler); in main()
382 (void) sigset(SIGINT, sigexit_handler); in main()
383 (void) sigset(SIGTERM, sigexit_handler); in main()
384 (void) sigset(SIGQUIT, sigexit_handler); in main()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c601 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in pnohup()
602 (void) sigset(SIGHUP, intr); in pnohup()
603 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in pnohup()
604 (void) sigset(SIGINT, intr); in pnohup()
605 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in pnohup()
606 (void) sigset(SIGQUIT, intr); in pnohup()
607 (void) sigset(SIGPIPE, intr); in pnohup()
608 (void) sigset(SIGTERM, intr); in pnohup()
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c243 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
244 (void) sigset(SIGHUP, intr); in main()
245 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
246 (void) sigset(SIGINT, intr); in main()
247 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
248 (void) sigset(SIGQUIT, intr); in main()
249 (void) sigset(SIGTERM, intr); in main()
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyplckpwdf.c68 (void) sigset(SIGALRM, almhdlr); in yplckpwdf()
72 (void) sigset(SIGALRM, SIG_DFL); in yplckpwdf()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dmain.c57 sigset_t sigset; in init_proc() local
89 premptyset(&sigset); in init_proc()
90 piov[1].iov_base = (caddr_t)&sigset; in init_proc()
91 piov[1].iov_len = sizeof (sigset); in init_proc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dmain.c137 sigset_t sigset; in sighandler() local
141 (void) sigfillset(&sigset); in sighandler()
144 sig = sigwait(&sigset); in sighandler()
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c112 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
113 (void) sigset(SIGHUP, intr); in main()
114 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
115 (void) sigset(SIGINT, intr); in main()
116 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
117 (void) sigset(SIGQUIT, intr); in main()
118 (void) sigset(SIGPIPE, intr); in main()
119 (void) sigset(SIGTERM, intr); in main()
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c231 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
232 (void) sigset(SIGHUP, intr); in main()
233 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
234 (void) sigset(SIGINT, intr); in main()
235 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
236 (void) sigset(SIGQUIT, intr); in main()
237 (void) sigset(SIGPIPE, intr); in main()
238 (void) sigset(SIGTERM, intr); in main()
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c967 if (sigset(SIGHUP, SIG_IGN) == SIG_DFL) in main()
968 (void) sigset(SIGHUP, intr); in main()
969 if (sigset(SIGINT, SIG_IGN) == SIG_DFL) in main()
970 (void) sigset(SIGINT, intr); in main()
971 if (sigset(SIGQUIT, SIG_IGN) == SIG_DFL) in main()
972 (void) sigset(SIGQUIT, intr); in main()
973 (void) sigset(SIGPIPE, intr); in main()
974 (void) sigset(SIGTERM, intr); in main()

123456