Home
last modified time | relevance | path

Searched refs:oset (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/src/lib/libedit/
Dsig.c69 sigset_t nset, oset; in sig_handler() local
74 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sig_handler()
103 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_handler()
116 sigset_t *nset, oset; in sig_init() local
127 (void) sigprocmask(SIG_BLOCK, nset, &oset); in sig_init()
135 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_init()
160 sigset_t oset; in sig_set() local
167 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set()
176 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_set()
187 sigset_t oset; in sig_clr() local
[all …]
Del.c571 sigset_t oset, nset; in el_resize() local
575 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in el_resize()
581 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in el_resize()
/openbsd/src/regress/sys/kern/signal/sigsuspend/
Dsigsuspend.c32 sigset_t set, oset; in main() local
55 if (sigprocmask(SIG_BLOCK, &set, &oset)) in main()
73 if (sigprocmask(SIG_SETMASK, NULL, &oset)) in main()
75 if (!sigismember(&oset, SIGUSR1) || in main()
76 !sigismember(&oset, SIGUSR2)) in main()
102 sigsuspend(&oset); in main()
107 if (sigprocmask(SIG_SETMASK, NULL, &oset)) in main()
109 if (!sigismember(&oset, SIGUSR1) || in main()
110 !sigismember(&oset, SIGUSR2)) in main()
/openbsd/src/regress/lib/libc/sigthr/
Dsigthr_test.c22 sigset_t set, oset; in main() local
34 if (sigprocmask(SIG_SETMASK, &set, &oset)) in main()
36 if (sigismember(&oset, SIGTHR)) in main()
38 if (sigprocmask(SIG_BLOCK, NULL, &oset)) in main()
40 if (sigismember(&oset, SIGTHR)) in main()
/openbsd/src/regress/lib/libc/sys/
Dt_select.c99 sigset_t set, oset, nset; in child() local
100 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; in child()
115 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in child()
135 if (memcmp(&oset, &nset, sizeof(oset)) != 0) in child()
139 prmask(&oset, obuf, sizeof(obuf))); in child()
/openbsd/src/usr.bin/mail/
Dfio.c201 sigset_t oset; in readline() local
217 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); in readline()
241 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in readline()
332 static sigset_t nset, oset; variable
345 sigprocmask(SIG_BLOCK, &nset, &oset); in holdsigs()
357 sigprocmask(SIG_SETMASK, &oset, NULL); in relsesigs()
364 ignoresig(int sig, struct sigaction *oact, sigset_t *oset) in ignoresig() argument
378 (void)sigprocmask(SIG_UNBLOCK, &nset, oset); in ignoresig()
379 } else if (oset != NULL) in ignoresig()
380 (void)sigprocmask(SIG_BLOCK, NULL, oset); in ignoresig()
Dpopen.c135 sigset_t nset, oset; in Pclose() local
143 sigprocmask(SIG_BLOCK, &nset, &oset); in Pclose()
145 sigprocmask(SIG_SETMASK, &oset, NULL); in Pclose()
370 sigset_t nset, oset; in wait_child() local
375 sigprocmask(SIG_BLOCK, &nset, &oset); in wait_child()
388 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_child()
402 sigset_t nset, oset; in free_child() local
406 sigprocmask(SIG_BLOCK, &nset, &oset); in free_child()
413 sigprocmask(SIG_SETMASK, &oset, NULL); in free_child()
Dcollect.c437 sigset_t oset; in mesedit() local
439 (void)ignoresig(SIGINT, &oact, &oset); in mesedit()
446 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in mesedit()
463 sigset_t oset; in mespipe() local
465 (void)ignoresig(SIGINT, &oact, &oset); in mespipe()
496 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in mespipe()
Dcmd3.c54 sigset_t oset; in shell() local
56 (void)ignoresig(SIGINT, &oact, &oset); in shell()
62 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in shell()
76 sigset_t oset; in dosh() local
79 (void)ignoresig(SIGINT, &oact, &oset); in dosh()
81 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in dosh()
Dedit.c82 sigset_t oset; in edit1() local
106 (void)ignoresig(SIGINT, &oact, &oset); in edit1()
135 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in edit1()
Dcmd1.c57 sigset_t oset; in headers() local
80 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); in headers()
95 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in headers()
Dtty.c176 sigset_t oset; in readtty() local
206 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); in readtty()
234 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in readtty()
Dsend.c67 sigset_t oset; in sendmessage() local
76 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); in sendmessage()
249 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in sendmessage()
/openbsd/src/usr.bin/mg/
Dspawn.c26 sigset_t oset; in spawncli() local
42 (void)sigprocmask(SIG_SETMASK, NULL, &oset); in spawncli()
44 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in spawncli()
/openbsd/src/lib/libc/stdio/
Dtmpfile.c45 sigset_t set, oset; in tmpfile() local
51 (void)sigprocmask(SIG_BLOCK, &set, &oset); in tmpfile()
57 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in tmpfile()
/openbsd/src/lib/libcrypto/arch/arm/
Darmcap.c40 sigset_t oset; in OPENSSL_cpuid_setup() local
62 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); in OPENSSL_cpuid_setup()
86 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
/openbsd/src/lib/libc/sys/
Dpthread_sigmask.c23 pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) in pthread_sigmask() argument
25 return (WRAP(sigprocmask)(how, set, oset) ? errno : 0); in pthread_sigmask()
Dw_sigprocmask.c26 WRAP(sigprocmask)(int how, const sigset_t *set, sigset_t *oset) in WRAP()
35 return (sigprocmask(how, set, oset)); in WRAP()
/openbsd/src/regress/sys/kern/signal/sigpthread/
Dsigpthread.c52 sigset_t set, oset; variable
141 if (sigprocmask(SIG_BLOCK, &set, &oset) == -1) in main()
145 if (sigaddset(&oset, SIGUSR2) == -1) in main()
267 if (sigsuspend(&oset) != -1 || errno != EINTR) in runner()
/openbsd/src/usr.bin/find/
Dfind.c154 sigset_t fullset, oset; in find_execute() local
184 (void)sigprocmask(SIG_BLOCK, &fullset, &oset); in find_execute()
186 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in find_execute()
/openbsd/src/usr.bin/lock/
Dlock.c215 sigset_t set, oset; in main() local
217 sigprocmask(SIG_BLOCK, &set, &oset); in main()
219 sigprocmask(SIG_SETMASK, &oset, NULL); in main()
/openbsd/src/usr.bin/bc/
Dscan.l330 sigset_t oset, nset;
336 sigprocmask(SIG_BLOCK, &nset, &oset);
342 sigprocmask(SIG_SETMASK, &oset, NULL);
/openbsd/src/lib/libc/db/btree/
Dbt_open.c382 sigset_t set, oset; in tmp() local
397 (void)sigprocmask(SIG_BLOCK, &set, &oset); in tmp()
400 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in tmp()
/openbsd/src/usr.bin/rdist/
Dchild.c104 sigset_t set, oset; in removechild() local
108 sigprocmask(SIG_BLOCK, &set, &oset); in removechild()
115 sigprocmask(SIG_SETMASK, &oset, NULL); in removechild()
/openbsd/src/sbin/fsck_ffs/
Dutilities.c297 sigset_t oset, nset; in ckfini() local
302 sigprocmask(SIG_BLOCK, &nset, &oset); in ckfini()
307 sigprocmask(SIG_SETMASK, &oset, NULL); in ckfini()
373 sigprocmask(SIG_SETMASK, &oset, NULL); in ckfini()

12