/openbsd-current/lib/libc/sys/ |
H A D | pthread_sigmask.c | 23 pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) argument 25 return (WRAP(sigprocmask)(how, set, oset) ? errno : 0);
|
H A D | w_sigprocmask.c | 26 WRAP(sigprocmask)(int how, const sigset_t *set, sigset_t *oset) argument 35 return (sigprocmask(how, set, oset));
|
/openbsd-current/regress/sys/kern/signal/sigsuspend/ |
H A D | sigsuspend.c | 32 sigset_t set, oset; local 55 if (sigprocmask(SIG_BLOCK, &set, &oset)) 73 if (sigprocmask(SIG_SETMASK, NULL, &oset)) 75 if (!sigismember(&oset, SIGUSR1) || 76 !sigismember(&oset, SIGUSR2)) 102 sigsuspend(&oset); 107 if (sigprocmask(SIG_SETMASK, NULL, &oset)) 109 if (!sigismember(&oset, SIGUSR1) || 110 !sigismember(&oset, SIGUSR2))
|
/openbsd-current/usr.bin/mg/ |
H A D | spawn.c | 26 sigset_t oset; local 42 (void)sigprocmask(SIG_SETMASK, NULL, &oset); 44 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/regress/lib/libc/sigthr/ |
H A D | sigthr_test.c | 22 sigset_t set, oset; local 34 if (sigprocmask(SIG_SETMASK, &set, &oset)) 36 if (sigismember(&oset, SIGTHR)) 38 if (sigprocmask(SIG_BLOCK, NULL, &oset)) 40 if (sigismember(&oset, SIGTHR))
|
/openbsd-current/lib/libedit/ |
H A D | sig.c | 69 sigset_t nset, oset; local 74 (void) sigprocmask(SIG_BLOCK, &nset, &oset); 103 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 116 sigset_t *nset, oset; local 127 (void) sigprocmask(SIG_BLOCK, nset, &oset); 135 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 160 sigset_t oset; local 167 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); 176 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 187 sigset_t oset; local [all...] |
H A D | el.c | 571 sigset_t oset, nset; local 575 (void) sigprocmask(SIG_BLOCK, &nset, &oset); 581 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/lib/libc/stdio/ |
H A D | tmpfile.c | 45 sigset_t set, oset; local 51 (void)sigprocmask(SIG_BLOCK, &set, &oset); 57 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/lib/libcrypto/arch/arm/ |
H A D | armcap.c | 36 sigset_t oset; local 58 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); 82 sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/regress/lib/libc/sys/ |
H A D | t_select.c | 99 sigset_t set, oset, nset; local 100 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; 115 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) 135 if (memcmp(&oset, &nset, sizeof(oset)) != 0) 139 prmask(&oset, obuf, sizeof(obuf)));
|
/openbsd-current/usr.bin/mail/ |
H A D | fio.c | 201 sigset_t oset; local 217 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); 241 (void)sigprocmask(SIG_SETMASK, &oset, NULL); 332 static sigset_t nset, oset; variable 345 sigprocmask(SIG_BLOCK, &nset, &oset); 357 sigprocmask(SIG_SETMASK, &oset, NULL); 364 ignoresig(int sig, struct sigaction *oact, sigset_t *oset) argument 378 (void)sigprocmask(SIG_UNBLOCK, &nset, oset); 379 } else if (oset != NULL) 380 (void)sigprocmask(SIG_BLOCK, NULL, oset); [all...] |
H A D | popen.c | 135 sigset_t nset, oset; local 143 sigprocmask(SIG_BLOCK, &nset, &oset); 145 sigprocmask(SIG_SETMASK, &oset, NULL); 370 sigset_t nset, oset; local 375 sigprocmask(SIG_BLOCK, &nset, &oset); 388 sigprocmask(SIG_SETMASK, &oset, NULL); 402 sigset_t nset, oset; local 406 sigprocmask(SIG_BLOCK, &nset, &oset); 413 sigprocmask(SIG_SETMASK, &oset, NULL);
|
H A D | collect.c | 437 sigset_t oset; local 439 (void)ignoresig(SIGINT, &oact, &oset); 446 (void)sigprocmask(SIG_SETMASK, &oset, NULL); 463 sigset_t oset; local 465 (void)ignoresig(SIGINT, &oact, &oset); 496 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
H A D | edit.c | 82 sigset_t oset; local 106 (void)ignoresig(SIGINT, &oact, &oset); 135 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
H A D | cmd3.c | 54 sigset_t oset; local 56 (void)ignoresig(SIGINT, &oact, &oset); 62 (void)sigprocmask(SIG_SETMASK, &oset, NULL); 76 sigset_t oset; local 79 (void)ignoresig(SIGINT, &oact, &oset); 81 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
H A D | cmd1.c | 57 sigset_t oset; local 80 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); 95 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
H A D | tty.c | 176 sigset_t oset; local 206 (void)sigprocmask(SIG_UNBLOCK, &intset, &oset); 234 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/lib/libcrypto/ |
H A D | sparcv9cap.c | 49 sigset_t all_masked, oset; local 68 sigprocmask(SIG_SETMASK, &all_masked, &oset); 97 sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/lib/libcrypto/arch/aarch64/ |
H A D | arm64cap.c | 85 sigset_t oset; local 107 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); 131 sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/usr.bin/find/ |
H A D | find.c | 154 sigset_t fullset, oset; local 184 (void)sigprocmask(SIG_BLOCK, &fullset, &oset); 186 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/usr.bin/lock/ |
H A D | lock.c | 215 sigset_t set, oset; local 217 sigprocmask(SIG_BLOCK, &set, &oset); 219 sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/regress/sys/kern/signal/sigpthread/ |
H A D | sigpthread.c | 52 sigset_t set, oset; variable 141 if (sigprocmask(SIG_BLOCK, &set, &oset) == -1) 144 /* Prepare to wait for SIGUSR1, but block SIGUSR2 with oset. */ 145 if (sigaddset(&oset, SIGUSR2) == -1) 267 if (sigsuspend(&oset) != -1 || errno != EINTR)
|
/openbsd-current/lib/libc/db/btree/ |
H A D | bt_open.c | 382 sigset_t set, oset; local 397 (void)sigprocmask(SIG_BLOCK, &set, &oset); 400 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/usr.bin/rdist/ |
H A D | child.c | 104 sigset_t set, oset; local 108 sigprocmask(SIG_BLOCK, &set, &oset); 115 sigprocmask(SIG_SETMASK, &oset, NULL);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 445 PRE_SYSCALL(sigprocmask)(long how, void *set, void *oset) {} 447 POST_SYSCALL(sigprocmask)(long res, long how, void *set, void *oset) { 451 if (oset) 452 POST_WRITE(oset, old_sigset_t_sz); 740 PRE_SYSCALL(rt_sigprocmask)(long how, void *set, void *oset, long sigsetsize) {} 743 (long res, long how, kernel_sigset_t *set, kernel_sigset_t *oset, 748 if (oset) 749 POST_WRITE(oset, sigsetsize);
|