Home
last modified time | relevance | path

Searched refs:sigmask (Results 1 – 25 of 77) sorted by relevance

1234

/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A Dsignalmap.c238 if (mask & sigmask(XSIGURG)) in maptooldmask()
239 omask |= sigmask(SIGURG); in maptooldmask()
240 if (mask & sigmask(XSIGSTOP)) in maptooldmask()
241 omask |= sigmask(SIGSTOP); in maptooldmask()
242 if (mask & sigmask(XSIGTSTP)) in maptooldmask()
243 omask |= sigmask(SIGTSTP); in maptooldmask()
244 if (mask & sigmask(XSIGCONT)) in maptooldmask()
245 omask |= sigmask(SIGCONT); in maptooldmask()
246 if (mask & sigmask(XSIGCLD)) in maptooldmask()
247 omask |= sigmask(SIGCLD); in maptooldmask()
[all …]
/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dsignal.c111 # ifndef sigmask
112 # define sigmask(s) (1 << ((s) - 1)) macro
114 return (sigblock(sigmask(sig)) & sigmask(sig)) != 0;
153 return (sigsetmask(sigblock(0) & ~sigmask(sig)) & sigmask(sig)) != 0;
269 # ifndef sigmask
270 # define sigmask(s) (1 << ((s) - 1)) macro
276 mask |= sigmask(SIGALRM);
277 mask |= sigmask(SIGCHLD);
278 mask |= sigmask(SIGHUP);
279 mask |= sigmask(SIGINT);
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dposix_sig.c36 #define cantmask (sigmask(SIGKILL)|sigmask(SIGSTOP))
63 *sigp = sigmask(NSIG - 1) | (sigmask(NSIG - 1) - 1); in sigfillset()
77 *sigp |= sigmask(signo); in sigaddset()
91 *sigp &= ~sigmask(signo); in sigdelset()
105 return ((*sigp & sigmask(signo)) != 0); in sigismember()
H A Dpopen.c93 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP));
H A Dusleep.c63 omask = sigblock(sigmask(SIGALRM)); in usleep()
67 sigpause(omask &~ sigmask(SIGALRM)); in usleep()
/titanic_50/usr/src/lib/libbc/libc/gen/sys5/
H A Dsighold.c40 (void) sigblock(sigmask(sig));
53 (void) sigsetmask(sigblock(0) & ~sigmask(sig));
72 (void) sigsetmask(sigblock(0) & ~sigmask(sig));
100 newmask |= sigmask(sig);
107 newmask &= ~sigmask(sig);
114 if (oldmask & sigmask(sig))
/titanic_50/usr/src/uts/common/sys/
H A Dsignal.h260 #define sigmask(n) ((unsigned int)1 << (((n) - 1) & (32 - 1))) macro
271 #define CANTMASK0 (sigmask(SIGKILL)|sigmask(SIGSTOP))
277 #define sigaddset(s, n) ((s)->__sigbits[sigword(n)] |= sigmask(n))
278 #define sigdelset(s, n) ((s)->__sigbits[sigword(n)] &= ~sigmask(n))
279 #define sigismember(s, n) (sigmask(n) & (s)->__sigbits[sigword(n)])
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c62 static sigset_t sigmask; /* Global signal mask */ variable
222 (void) sigemptyset(&sigmask); in add_signal_handlers()
223 (void) sigaddset(&sigmask, SIGHUP); in add_signal_handlers()
224 (void) sigaddset(&sigmask, SIGCHLD); in add_signal_handlers()
225 (void) sigaddset(&sigmask, SIGINT); in add_signal_handlers()
226 (void) sigprocmask(SIG_BLOCK, &sigmask, NULL); in add_signal_handlers()
228 sa.sa_mask = sigmask; in add_signal_handlers()
400 (void) sigprocmask(SIG_UNBLOCK, &sigmask, NULL); in main_loop()
409 (void) sigprocmask(SIG_BLOCK, &sigmask, NULL); in main_loop()
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dsigact.c85 *mask &= ~sigmask(sig); in sigdelset()
92 *mask |= sigmask(sig); in sigaddset()
99 return (*mask & sigmask(sig)) != 0; in sigismember()
/titanic_50/usr/src/cmd/stmfproxy/stmfproxy/
H A Dstmfproxy.c404 sigset_t sigmask; in main() local
484 (void) sigfillset(&sigmask); in main()
487 (void) sigdelset(&sigmask, SIGQUIT); in main()
488 (void) sigdelset(&sigmask, SIGINT); in main()
489 (void) sigdelset(&sigmask, SIGTERM); in main()
490 (void) sigdelset(&sigmask, SIGHUP); in main()
492 (void) sigprocmask(SIG_SETMASK, &sigmask, NULL); in main()
/titanic_50/usr/src/lib/libast/common/misc/
H A Dsigcrit.c80 hold |= sigmask(sig); in interrupt()
130 mask |= sigmask(signals[i].sig); in sigcritical()
138 hold &= ~sigmask(signals[i].sig); in sigcritical()
189 if (hold & sigmask(signals[i].sig)) in sigcritical()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c44 #ifndef sigmask
45 #define sigmask(m) (1 << ((m)-1)) macro
156 omask = sigblock(sigmask(SIGQUIT)|sigmask(SIGHUP)); in mypclose()
/titanic_50/usr/src/uts/common/syscall/
H A Dlwp_create.c75 k_sigset_t sigmask; in syslwp_create() local
92 sigutok(&uc.uc_sigmask, &sigmask); in syslwp_create()
105 sigutok(&uc32.uc_sigmask, &sigmask); in syslwp_create()
130 curthread->t_pri, &sigmask, curthread->t_cid, 0); in syslwp_create()
/titanic_50/usr/src/lib/krb5/ss/
H A Dss_internal.h120 #ifdef sigmask
121 #undef sigmask
123 #define sigmask(x) (1L<<(x)-1) macro
/titanic_50/usr/src/lib/libumem/common/
H A Dumem_update_thread.c122 sigset_t sigmask, oldmask; in umem_create_update_thread() local
131 (void) sigfillset(&sigmask); in umem_create_update_thread()
132 (void) thr_sigsetmask(SIG_BLOCK, &sigmask, &oldmask); in umem_create_update_thread()
/titanic_50/usr/src/uts/common/os/
H A Dsig.c74 {(sigmask(SIGILL)|sigmask(SIGTRAP)|sigmask(SIGPWR)), 0, 0};
77 {(sigmask(SIGCONT)|sigmask(SIGCLD)|sigmask(SIGPWR)
78 |sigmask(SIGWINCH)|sigmask(SIGURG)|sigmask(SIGWAITING)),
79 (sigmask(SIGLWP)|sigmask(SIGCANCEL)|sigmask(SIGFREEZE)
80 |sigmask(SIGTHAW)|sigmask(SIGXRES)|sigmask(SIGJVM1)
81 |sigmask(SIGJVM2)|sigmask(SIGINFO)), 0};
84 {(sigmask(SIGSTOP)|sigmask(SIGTSTP)|sigmask(SIGTTOU)|sigmask(SIGTTIN)),
88 {(sigmask(SIGQUIT)|sigmask(SIGILL)|sigmask(SIGTRAP)|sigmask(SIGIOT)
89 |sigmask(SIGEMT)|sigmask(SIGFPE)|sigmask(SIGBUS)|sigmask(SIGSEGV)
90 |sigmask(SIGSYS)|sigmask(SIGXCPU)|sigmask(SIGXFSZ)), 0, 0};
[all …]
/titanic_50/usr/src/cmd/power/
H A Dpowerd.c192 sigset_t sigmask; in main() local
293 (void) sigfillset(&sigmask); in main()
294 (void) sigdelset(&sigmask, SIGQUIT); in main()
295 (void) sigdelset(&sigmask, SIGINT); in main()
296 (void) sigdelset(&sigmask, SIGTERM); in main()
297 (void) thr_sigsetmask(SIG_SETMASK, &sigmask, NULL); in main()
340 (void) sigsuspend(&sigmask); in main()
349 sigset_t sigmask; in system_activity_monitor() local
380 (void) thr_sigsetmask(0, 0, &sigmask); in system_activity_monitor()
381 (void) sigdelset(&sigmask, SIGHUP); in system_activity_monitor()
[all …]
/titanic_50/usr/src/ucblib/libcurses/
H A Dtstp.c49 (void) sigsetmask(sigblock(0) &~ sigmask(SIGTSTP)); in tstp()
51 (void) sigblock(sigmask(SIGTSTP)); in tstp()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dpoll.c36 const sigset_t *_RESTRICT_KYWD sigmask) in ppoll() argument
38 return (_pollsys(fds, nfd, tsp, sigmask)); in ppoll()
/titanic_50/usr/src/lib/libbc/libc/gen/4.2/
H A Dsleep.c51 omask = sigblock(sigmask(SIGALRM)); in sleep()
55 sigpause(omask &~ sigmask(SIGALRM)); in sleep()
/titanic_50/usr/src/cmd/csh/
H A Dsh.proc.c173 omask = sigblock(sigmask(SIGCHLD)); in pnote()
199 omask = sigblock(sigmask(SIGCHLD)); in pwait()
239 omask = sigblock(sigmask(SIGCHLD)); in pjwait()
313 omask = sigblock(sigmask(SIGCHLD)); in dowait()
953 omask = sigmask(SIGCHLD); in pkill()
955 omask |= sigmask(SIGINT); in pkill()
1019 omask = sigblock(sigmask(SIGCHLD)); in pstart()
1206 omask = sigblock(sigmask(SIGCHLD)); in pfork()
1252 sigttou = sigblock(sigmask(SIGTTOU) | in pfork()
1253 sigmask(SIGTTIN) | in pfork()
[all …]
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/
H A Dsig.h81 #ifndef sigmask
82 #define sigmask(s) (1<<((s)-1)) macro
/titanic_50/usr/src/lib/libast/amd64/include/ast/
H A Dsig.h102 #ifndef sigmask
103 #define sigmask(s) (1<<((s)-1)) macro
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dsig.h81 #ifndef sigmask
82 #define sigmask(s) (1<<((s)-1)) macro
/titanic_50/usr/src/lib/libast/sparc/include/ast/
H A Dsig.h102 #ifndef sigmask
103 #define sigmask(s) (1<<((s)-1)) macro

1234