/freebsd/contrib/libedit/ |
H A D | sig.c | 75 sigset_t nset, oset; in sig_handler() local 80 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sig_handler() 109 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_handler() 122 sigset_t *nset, oset; in sig_init() local 133 (void) sigprocmask(SIG_BLOCK, nset, &oset); in sig_init() 141 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_init() 166 sigset_t oset; in sig_set() local 174 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set() 182 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_set() 193 sigset_t oset; in sig_clr() local [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-ascii.c | 104 const u_char *cp, u_int length, u_int oset) in hex_and_ascii_print_with_offset() argument 136 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE, in hex_and_ascii_print_with_offset() 139 oset += HEXDUMP_BYTES_PER_LINE; in hex_and_ascii_print_with_offset() 155 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE, in hex_and_ascii_print_with_offset() 175 u_int oset) in hex_print_with_offset() argument 191 ND_PRINT("%s0x%04x: ", ident, oset); in hex_print_with_offset() 192 oset += HEXDUMP_BYTES_PER_LINE; in hex_print_with_offset() 202 ND_PRINT("%s0x%04x: ", ident, oset); in hex_print_with_offset()
|
/freebsd/usr.sbin/bsdinstall/runconsoles/ |
H A D | child.c | 83 sigset_t set, oset; in wait_all_descendants() local 95 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_descendants() 99 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_descendants() 165 grandchild_run(const char **argv, const sigset_t *oset) in grandchild_run() argument 193 sigprocmask(SIG_SETMASK, oset, NULL); in grandchild_run() 222 const sigset_t *oset, struct pipe_barrier *start_children_barrier) in child_leader_run() argument 269 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run() 361 grandchild_run(argv, oset); in child_leader_run() 372 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run()
|
H A D | runconsoles.c | 109 sigset_t set, oset; in kill_consoles() local 113 sigprocmask(SIG_BLOCK, &set, &oset); in kill_consoles() 118 sigprocmask(SIG_SETMASK, &oset, NULL); in kill_consoles() 134 sigset_t set, oset; in wait_all_consoles() local 147 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_consoles() 151 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_consoles() 389 const sigset_t *oset) in start_console() argument 418 consinfo != controlling_consinfo, argv, oset, in start_console() 441 sigset_t set, oset; in start_consoles() local 559 sigprocmask(SIG_BLOCK, &set, &oset); in start_consoles() [all …]
|
H A D | child.h | 29 const char **argv, const sigset_t *oset,
|
/freebsd/lib/libc/compat-43/ |
H A D | sigcompat.c | 68 sigset_t set, oset; in sigsetmask() local 73 n = __libc_sigprocmask(SIG_SETMASK, &set, &oset); in sigsetmask() 76 return (oset.__bits[0]); in sigsetmask() 82 sigset_t set, oset; in sigblock() local 87 n = __libc_sigprocmask(SIG_BLOCK, &set, &oset); in sigblock() 90 return (oset.__bits[0]); in sigblock()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_select.c | 89 sigset_t set, oset, nset; in child() local 90 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; in child() 105 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in child() 125 if (memcmp(&oset, &nset, sizeof(oset)) != 0) in child() 129 prmask(&oset, obuf, sizeof(obuf))); in child()
|
/freebsd/usr.bin/mail/ |
H A D | popen.c | 133 sigset_t nset, oset; in Pclose() local 141 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in Pclose() 143 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in Pclose() 362 sigset_t nset, oset; in wait_child() local 367 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in wait_child() 380 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in wait_child() 394 sigset_t nset, oset; in free_child() local 398 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in free_child() 405 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in free_child()
|
H A D | fio.c | 267 static sigset_t nset, oset; variable 280 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in holdsigs() 292 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in relsesigs()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | signal.c | 123 sigset_t sset, oset; 127 if (sigprocmask(SIG_BLOCK, &sset, &oset) < 0) 130 return sigismember(&oset, sig); 162 sigset_t sset, oset; 166 if (sigprocmask(SIG_UNBLOCK, &sset, &oset) < 0) 169 return sigismember(&oset, sig);
|
/freebsd/lib/libc/gen/ |
H A D | pause.c | 45 sigset_t oset; in __pause() local 47 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in __pause() 49 return (sigsuspend(&oset)); in __pause()
|
/freebsd/contrib/tcsh/ |
H A D | dotlock.c | 130 sigset_t nset, oset; in dot_lock() local 148 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in dot_lock() 150 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in dot_lock() 155 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in dot_lock()
|
H A D | tw.help.c | 131 sigset_t oset, set; in do_help() local 142 (void)sigprocmask(SIG_UNBLOCK, &set, &oset); in do_help() 143 cleanup_push(&oset, sigprocmask_cleanup); in do_help()
|
/freebsd/lib/libc/stdio/ |
H A D | tmpfile.c | 50 sigset_t set, oset; in tmpfile() local 67 (void)__libc_sigprocmask(SIG_BLOCK, &set, &oset); in tmpfile() 75 (void)__libc_sigprocmask(SIG_SETMASK, &oset, NULL); in tmpfile()
|
/freebsd/lib/libc/sys/ |
H A D | sigprocmask.c | 41 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument 43 return (INTERPOS_SYS(sigprocmask, how, set, oset)); in sigprocmask()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_create.c | 60 sigset_t set, oset; in _pthread_create() local 179 __sys_sigprocmask(SIG_SETMASK, &set, &oset); in _pthread_create() 180 new_thread->sigmask = oset; in _pthread_create() 196 __sys_sigprocmask(SIG_SETMASK, &oset, NULL); in _pthread_create()
|
/freebsd/contrib/bmake/ |
H A D | sigaction.c | 273 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument 294 if (oset) in sigprocmask() 295 *oset = sm; in sigprocmask()
|
/freebsd/sys/compat/linux/ |
H A D | linux_signal.c | 313 l_sigset_t lset, oset; in linux_sigprocmask() local 332 args->omask ? &oset : NULL); in linux_sigprocmask() 337 linux_ktrsigset(&oset, sizeof(oset)); in linux_sigprocmask() 339 mask = oset.__mask; in linux_sigprocmask() 350 l_sigset_t oset; in linux_rt_sigprocmask() local 360 args->omask ? &oset : NULL); in linux_rt_sigprocmask() 365 linux_ktrsigset(&oset, sizeof(oset)); in linux_rt_sigprocmask() 367 error = copyout(&oset, args->omask, sizeof(oset)); in linux_rt_sigprocmask()
|
/freebsd/libexec/rtld-elf/rtld-libc/ |
H A D | rtld_libc.c | 70 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument 73 return (__sys_sigprocmask(how, set, oset)); in sigprocmask()
|
H A D | rtld_libc.h | 81 #define sigprocmask(how, set, oset) __sys_sigprocmask(how, set, oset) argument
|
/freebsd/crypto/openssl/crypto/ |
H A D | armcap.c | 147 sigset_t oset; in OPENSSL_cpuid_setup() local 228 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); in OPENSSL_cpuid_setup() 267 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
|
H A D | sparcv9cap.c | 89 sigset_t all_masked, oset; in OPENSSL_cpuid_setup() local 159 sigprocmask(SIG_SETMASK, &all_masked, &oset); in OPENSSL_cpuid_setup() 219 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
|
H A D | ppccap.c | 142 sigset_t oset; in OPENSSL_cpuid_setup() local 266 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); in OPENSSL_cpuid_setup() 314 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
|
/freebsd/lib/libc/db/btree/ |
H A D | bt_open.c | 386 sigset_t set, oset; in tmp() local 400 (void)__libc_sigprocmask(SIG_BLOCK, &set, &oset); in tmp() 403 (void)__libc_sigprocmask(SIG_SETMASK, &oset, NULL); in tmp()
|
/freebsd/lib/librt/ |
H A D | sigev_thread.c | 309 sigset_t set, oset; in sigev_thread_create() local 336 _sigprocmask(SIG_SETMASK, &set, &oset); in sigev_thread_create() 339 _sigprocmask(SIG_SETMASK, &oset, NULL); in sigev_thread_create()
|