Home
last modified time | relevance | path

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

12345678

/freebsd-14-stable/contrib/libedit/
HDsig.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-14-stable/sys/contrib/vchiq/interface/vchiq_arm/
HDvchiq_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-14-stable/lib/libc/sys/
HDsigprocmask.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
/freebsd-14-stable/tests/sys/kqueue/libkqueue/
HDsignal.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()
HDproc.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-14-stable/lib/libulog/
HDulog_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-14-stable/libexec/rtld-elf/rtld-libc/
HDrtld_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-14-stable/usr.sbin/bsdinstall/runconsoles/
HDchild.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()
HDrunconsoles.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-14-stable/usr.bin/mail/
HDpopen.c147 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in Pclose()
149 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in Pclose()
283 (void)sigprocmask(SIG_SETMASK, &eset, NULL); in prepare_child()
373 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in wait_child()
386 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in wait_child()
404 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in free_child()
411 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in free_child()
HDcollect.c90 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collect()
102 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collect()
481 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collect()
487 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collect()
661 (void)sigprocmask(SIG_UNBLOCK, &nset, NULL); in collstop()
663 (void)sigprocmask(SIG_BLOCK, &nset, NULL); in collstop()
/freebsd-14-stable/usr.bin/tip/tip/
HDtipout.c145 sigprocmask(SIG_BLOCK, NULL, &omask); in tipout()
147 sigprocmask(SIG_SETMASK, &omask, NULL); in tipout()
155 sigprocmask(SIG_BLOCK, &mask, NULL); in tipout()
167 sigprocmask(SIG_BLOCK, &mask, NULL); in tipout()
/freebsd-14-stable/tests/sys/kern/
HDktrace_test.c179 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
216 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
254 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
299 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
340 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
379 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
430 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
479 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
514 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
556 ATF_REQUIRE(sigprocmask(SIG_BLOCK, &set, NULL) != -1); in ATF_TC_BODY()
/freebsd-14-stable/contrib/tcsh/
HDdotlock.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-14-stable/usr.sbin/ppp/
HDtimer.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-14-stable/contrib/ntp/libntp/
HDiosignal.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-14-stable/sys/contrib/openzfs/module/os/linux/spl/
HDspl-condvar.c203 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in __cv_wait_idle()
205 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in __cv_wait_idle()
306 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in __cv_timedwait_idle()
309 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in __cv_timedwait_idle()
419 (void) sigprocmask(SIG_BLOCK, &blocked, &saved); in cv_timedwait_idle_hires()
422 (void) sigprocmask(SIG_SETMASK, &saved, NULL); in cv_timedwait_idle_hires()
/freebsd-14-stable/contrib/ncurses/ncurses/
HDSigAction.h94 #undef sigprocmask
95 #define sigprocmask _nc_sigprocmask macro
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/sys/
HDt_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()
HDt_pipe.c109 RL(sigprocmask(SIG_BLOCK, &asigset, &osigset)); in ATF_TC_BODY()
115 RL(sigprocmask(SIG_SETMASK, &osigset, NULL)); in ATF_TC_BODY()
/freebsd-14-stable/contrib/ncurses/ncurses/tty/
HDlib_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-14-stable/tools/regression/sigqueue/sigqtest1/
HDsigqtest1.c34 sigprocmask(SIG_BLOCK, &set, NULL); in main()
47 sigprocmask(SIG_UNBLOCK, &set, NULL); in main()
/freebsd-14-stable/contrib/openbsm/bin/auditdistd/
HDsigtimedwait.h57 PJDLOG_VERIFY(sigprocmask(SIG_BLOCK, &mask, NULL) == 0); in sigtimedwait()
78 PJDLOG_VERIFY(sigprocmask(SIG_UNBLOCK, &mask, NULL) == 0); in sigtimedwait()
/freebsd-14-stable/contrib/sendmail/libsm/
HDsignal.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-14-stable/usr.sbin/rpc.tlsservd/
HDrpc.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()

12345678