Home
last modified time | relevance | path

Searched refs:sigprocmask (Results 1 – 25 of 208) sorted by relevance

123456789

/freebsd/contrib/libedit/
H A Dsig.c80 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sig_handler()
109 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_handler()
133 (void) sigprocmask(SIG_BLOCK, nset, &oset); in sig_init()
141 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_init()
174 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set()
182 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_set()
195 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_clr()
202 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in sig_clr()
/freebsd/lib/libc/sys/
H A Dsigprocmask.c37 __weak_reference(sigprocmask, __libc_sigprocmask);
39 #pragma weak sigprocmask macro
41 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() function
43 return (INTERPOS_SYS(sigprocmask, how, set, oset)); in sigprocmask()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_killable.h49 sigprocmask(SIG_SETMASK, &blocked, &oldset); in down_interruptible_killable()
51 sigprocmask(SIG_SETMASK, &oldset, NULL); in down_interruptible_killable()
63 sigprocmask(SIG_SETMASK, &blocked, &oldset); in mutex_lock_interruptible_killable()
65 sigprocmask(SIG_SETMASK, &oldset, NULL); in mutex_lock_interruptible_killable()
/freebsd/tests/sys/kqueue/libkqueue/
H A Dsignal.c51 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_get()
79 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_disable()
105 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_enable()
143 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_del()
168 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_oneshot()
H A Dproc.c290 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_disable()
316 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_enable()
354 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_del()
379 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) in test_kevent_signal_oneshot()
/freebsd/lib/libulog/
H A Dulog_login_pseudo.c55 sigprocmask(SIG_BLOCK, &nblock, &oblock); in ulog_exec_helper()
64 sigprocmask(SIG_SETMASK, &oblock, NULL); in ulog_exec_helper()
75 sigprocmask(SIG_SETMASK, &oblock, NULL); in ulog_exec_helper()
/freebsd/libexec/rtld-elf/rtld-libc/
H A Drtld_libc.c68 #undef sigprocmask
70 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() function
75 __strong_reference(sigprocmask, __libc_sigprocmask);
/freebsd/usr.sbin/bsdinstall/runconsoles/
H A Dchild.c95 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_descendants()
99 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_descendants()
193 sigprocmask(SIG_SETMASK, oset, NULL); in grandchild_run()
269 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run()
344 sigprocmask(SIG_BLOCK, &set, NULL); in child_leader_run()
372 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run()
H A Drunconsoles.c113 sigprocmask(SIG_BLOCK, &set, &oset); in kill_consoles()
118 sigprocmask(SIG_SETMASK, &oset, NULL); in kill_consoles()
147 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_consoles()
151 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_consoles()
559 sigprocmask(SIG_BLOCK, &set, &oset); in start_consoles()
563 sigprocmask(SIG_SETMASK, &oset, NULL); in start_consoles()
/freebsd/usr.bin/mail/
H A Dpopen.c141 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in Pclose()
143 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in Pclose()
277 (void)sigprocmask(SIG_SETMASK, &eset, NULL); in prepare_child()
367 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in wait_child()
380 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in wait_child()
398 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in free_child()
405 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in free_child()
H A Dcollect.c84 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collect()
96 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collect()
475 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collect()
481 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collect()
655 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collstop()
657 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collstop()
/freebsd/usr.bin/tip/tip/
H A Dtipout.c137 sigprocmask(SIG_BLOCK, NULL, &omask); in tipout()
139 sigprocmask(SIG_SETMASK, &omask, NULL); in tipout()
147 sigprocmask(SIG_BLOCK, &mask, NULL); in tipout()
159 sigprocmask(SIG_BLOCK, &mask, NULL); in tipout()
/freebsd/tests/sys/kern/
H A Dktrace_test.c157 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
194 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
232 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
277 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
314 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
353 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
404 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
453 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
488 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
/freebsd/contrib/tcsh/
H A Ddotlock.c148 (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()
/freebsd/usr.sbin/ppp/
H A Dtimer.c71 sigprocmask(SIG_BLOCK, &mask, &omask); in timer_Stop()
73 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Stop()
86 sigprocmask(SIG_BLOCK, &mask, &omask); in timer_Start()
93 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Start()
132 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Start()
/freebsd/contrib/ntp/libntp/
H A Diosignal.c352 if (sigprocmask(SIG_BLOCK, &set, NULL)) in block_io_and_alarm()
380 if (sigprocmask(SIG_BLOCK, &set, NULL)) in block_sigio()
404 if (sigprocmask(SIG_UNBLOCK, &unset, NULL)) in unblock_io_and_alarm()
433 if (sigprocmask(SIG_UNBLOCK, &unset, NULL)) in unblock_sigio()
443 if (sigprocmask(SIG_UNBLOCK, NULL, &old)) in wait_for_signal()
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c180 (void) sigprocmask(SIG_BLOCK, &mask, &omask); in handle_SIGTSTP()
187 (void) sigprocmask(SIG_BLOCK, &mask, NULL); in handle_SIGTSTP()
206 (void) sigprocmask(SIG_UNBLOCK, &mask, NULL); in handle_SIGTSTP()
237 (void) sigprocmask(SIG_SETMASK, &omask, NULL); in handle_SIGTSTP()
/freebsd/contrib/ncurses/ncurses/
H A DSigAction.h94 #undef sigprocmask
95 #define sigprocmask _nc_sigprocmask macro
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_select.c102 if (sigprocmask(SIG_BLOCK, &set, NULL) == -1) in child()
105 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in child()
123 if (sigprocmask(SIG_BLOCK, NULL, &nset) == -1) in child()
H A Dt_pipe.c109 RL(sigprocmask(SIG_BLOCK, &asigset, &osigset)); in ATF_TC_BODY()
115 RL(sigprocmask(SIG_SETMASK, &osigset, NULL)); in ATF_TC_BODY()
/freebsd/tools/regression/sigqueue/sigqtest1/
H A Dsigqtest1.c34 sigprocmask(SIG_BLOCK, &set, NULL); in main()
47 sigprocmask(SIG_UNBLOCK, &set, NULL); in main()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-condvar.c206 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in __cv_wait_idle()
208 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in __cv_wait_idle()
351 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in __cv_timedwait_idle()
354 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in __cv_timedwait_idle()
464 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in cv_timedwait_idle_hires()
467 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in cv_timedwait_idle_hires()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsigtimedwait.h57 PJDLOG_VERIFY(sigprocmask(SIG_BLOCK, &mask, NULL) == 0); in sigtimedwait()
78 PJDLOG_VERIFY(sigprocmask(SIG_UNBLOCK, &mask, NULL) == 0); in sigtimedwait()
/freebsd/contrib/sendmail/libsm/
H A Dsignal.c127 if (sigprocmask(SIG_BLOCK, &sset, &oset) < 0)
166 if (sigprocmask(SIG_UNBLOCK, &sset, &oset) < 0)
315 (void) sigprocmask(block ? SIG_BLOCK : SIG_UNBLOCK, &sset, NULL);
/freebsd/usr.sbin/rpc.tlsservd/
H A Drpc.tlscommon.c75 sigprocmask(SIG_BLOCK, &sighup_mask, NULL); in rpctls_svc_run()
78 sigprocmask(SIG_UNBLOCK, &sighup_mask, NULL); in rpctls_svc_run()
90 sigprocmask(SIG_UNBLOCK, &sighup_mask, NULL); in rpctls_svc_run()

123456789