Home
last modified time | relevance | path

Searched refs:blocked (Results 1 – 25 of 128) sorted by relevance

123456

/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-init.c126 orig_sigmask = current->blocked; in zft_open()
127 sigfillset(&current->blocked); in zft_open()
130 current->blocked = orig_sigmask; /* restore mask */ in zft_open()
137 current->blocked = orig_sigmask; in zft_open()
138 sigaddsetmask (&current->blocked, _DO_BLOCK); in zft_open()
156 sigfillset(&current->blocked); in zft_close()
161 current->blocked = orig_sigmask; /* restore before open state */ in zft_close()
180 old_sigmask = current->blocked; /* save mask */ in zft_ioctl()
181 sigfillset(&current->blocked); in zft_ioctl()
184 current->blocked = old_sigmask; /* restore mask */ in zft_ioctl()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dsignal.c89 saveset = current->blocked; in _sys_sigsuspend()
90 current->blocked = newset; in _sys_sigsuspend()
121 saveset = current->blocked; in _sys_rt_sigsuspend()
122 current->blocked = newset; in _sys_rt_sigsuspend()
244 sigset_t blocked; in sys_sigreturn() local
249 if (__copy_from_user(&blocked, &frame->sf_mask, sizeof(blocked))) in sys_sigreturn()
252 sigdelsetmask(&blocked, ~_BLOCKABLE); in sys_sigreturn()
254 current->blocked = blocked; in sys_sigreturn()
291 current->blocked = set; in sys_rt_sigreturn()
526 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
[all …]
Dirixsig.c149 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
150 sigaddset(&current->blocked,sig); in handle_signal()
181 oldset = &current->blocked; in do_irix_signal()
187 signr = dequeue_signal(&current->blocked, &info); in do_irix_signal()
219 if (sigismember(&current->blocked, signr)) { in do_irix_signal()
303 sigset_t blocked; in irix_sigreturn() local
342 if (__copy_from_user(&blocked, &context->sigset, sizeof(blocked))) in irix_sigreturn()
345 sigdelsetmask(&blocked, ~_BLOCKABLE); in irix_sigreturn()
347 current->blocked = blocked; in irix_sigreturn()
447 oldbits = current->blocked; in irix_sigprocmask()
[all …]
/linux-2.4.37.9/kernel/
Dsignal.c397 if ((t->ptrace & PT_PTRACED) || sigismember(&t->blocked, sig)) in ignored_signal()
537 if (!retval && !sigismember(&t->blocked, sig)) in deliver_signal()
613 sigdelset(&t->blocked, sig); in force_sig_info()
885 old_set = current->blocked; in sys_rt_sigprocmask()
893 sigorsets(&current->blocked, &old_set, &new_set); in sys_rt_sigprocmask()
896 signandsets(&current->blocked, &old_set, &new_set); in sys_rt_sigprocmask()
899 current->blocked = new_set; in sys_rt_sigprocmask()
911 old_set = current->blocked; in sys_rt_sigprocmask()
933 sigandsets(&pending, &current->blocked, &current->pending.signal); in do_sigpending()
993 sigset_t oldblocked = current->blocked; in sys_rt_sigtimedwait()
[all …]
Dkmod.c112 sigemptyset(&curtask->blocked); in exec_usermodehelper()
225 tmpsig = current->blocked; in request_module()
226 siginitsetinv(&current->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP)); in request_module()
235 current->blocked = tmpsig; in request_module()
/linux-2.4.37.9/arch/cris/kernel/
Dsignal.c95 saveset = current->blocked; in sys_sigsuspend()
96 siginitset(&current->blocked, mask); in sys_sigsuspend()
134 saveset = current->blocked; in sys_rt_sigsuspend()
135 current->blocked = newset; in sys_rt_sigsuspend()
277 current->blocked = set; in sys_sigreturn()
317 current->blocked = set; in sys_rt_sigreturn()
561 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
562 sigaddset(&current->blocked,sig); in handle_signal()
595 oldset = &current->blocked; in do_signal()
601 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dsignal32.c206 saveset = current->blocked; in _sys32_sigsuspend()
207 current->blocked = newset; in _sys32_sigsuspend()
239 saveset = current->blocked; in _sys32_rt_sigsuspend()
240 current->blocked = newset; in _sys32_rt_sigsuspend()
431 sigset_t blocked; in sys32_sigreturn() local
436 if (__copy_from_user(&blocked, &frame->sf_mask, sizeof(blocked))) in sys32_sigreturn()
439 sigdelsetmask(&blocked, ~_BLOCKABLE); in sys32_sigreturn()
441 current->blocked = blocked; in sys32_sigreturn()
479 current->blocked = set; in sys32_rt_sigreturn()
725 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
[all …]
Dsignal.c94 saveset = current->blocked; in _sys_rt_sigsuspend()
95 current->blocked = newset; in _sys_rt_sigsuspend()
177 current->blocked = set; in sys_rt_sigreturn()
359 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
360 sigaddset(&current->blocked,sig); in handle_signal()
401 oldset = &current->blocked; in do_signal()
407 signr = dequeue_signal(&current->blocked, &info); in do_signal()
439 if (sigismember(&current->blocked, signr)) { in do_signal()
/linux-2.4.37.9/arch/s390x/kernel/
Dsignal.c95 saveset = current->blocked; in sys_sigsuspend()
96 siginitset(&current->blocked, mask); in sys_sigsuspend()
123 saveset = current->blocked; in sys_rt_sigsuspend()
124 current->blocked = newset; in sys_rt_sigsuspend()
225 current->blocked = set; in sys_sigreturn()
251 current->blocked = set; in sys_rt_sigreturn()
452 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
453 sigaddset(&current->blocked,sig); in handle_signal()
483 oldset = &current->blocked; in do_signal()
495 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
Dsignal32.c113 saveset = current->blocked; in sys32_sigsuspend()
114 siginitset(&current->blocked, mask); in sys32_sigsuspend()
148 saveset = current->blocked; in sys32_rt_sigsuspend()
149 current->blocked = newset; in sys32_rt_sigsuspend()
353 current->blocked = set; in sys32_sigreturn()
382 current->blocked = set; in sys32_rt_sigreturn()
593 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal32()
594 sigaddset(&current->blocked,sig); in handle_signal32()
624 oldset = &current->blocked; in do_signal32()
630 signr = dequeue_signal(&current->blocked, &info); in do_signal32()
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Dsignal.c97 saveset = current->blocked; in sys_sigsuspend()
98 siginitset(&current->blocked, mask); in sys_sigsuspend()
125 saveset = current->blocked; in sys_rt_sigsuspend()
126 current->blocked = newset; in sys_rt_sigsuspend()
227 current->blocked = set; in sys_sigreturn()
253 current->blocked = set; in sys_rt_sigreturn()
454 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
455 sigaddset(&current->blocked,sig); in handle_signal()
485 oldset = &current->blocked; in do_signal()
491 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Dsignal.c93 saveset = current->blocked; in sys_sigsuspend()
94 siginitset(&current->blocked, mask); in sys_sigsuspend()
132 saveset = current->blocked; in sys_rt_sigsuspend()
133 current->blocked = newset; in sys_rt_sigsuspend()
336 current->blocked = *set; in restore_sigmask()
428 &current->blocked, sizeof(sigset_t)) in sys_swapcontext()
584 signr = dequeue_signal(&current->blocked, infop); in get_signal_to_deliver()
616 if (sigismember(&current->blocked, signr)) { in get_signal_to_deliver()
685 oldset = &current->blocked; in do_signal()
737 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in do_signal()
[all …]
/linux-2.4.37.9/arch/alpha/kernel/
Dsignal.c96 oldmask = current->blocked.sig[0]; in osf_sigprocmask()
105 sigemptyset(&current->blocked); in osf_sigprocmask()
106 current->blocked.sig[0] = newmask; in osf_sigprocmask()
183 oldset = current->blocked; in do_sigsuspend()
184 siginitset(&current->blocked, mask); in do_sigsuspend()
210 oldset = current->blocked; in do_rt_sigsuspend()
211 current->blocked = set; in do_rt_sigsuspend()
318 current->blocked = set; in do_sigreturn()
349 current->blocked = set; in do_rt_sigreturn()
580 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
[all …]
/linux-2.4.37.9/include/linux/
Dsched.h401 sigset_t blocked; member
512 blocked: {{0}}, \
654 static inline int has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument
662 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
665 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
666 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
667 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
668 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
671 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
672 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
/linux-2.4.37.9/arch/arm/kernel/
Dsignal.c99 saveset = current->blocked; in sys_sigsuspend()
100 siginitset(&current->blocked, mask); in sys_sigsuspend()
127 saveset = current->blocked; in sys_rt_sigsuspend()
128 current->blocked = newset; in sys_rt_sigsuspend()
247 current->blocked = set; in sys_sigreturn()
287 current->blocked = set; in sys_rt_sigreturn()
512 sigorsets(&tsk->blocked, &tsk->blocked, in handle_signal()
514 sigaddset(&tsk->blocked, sig); in handle_signal()
551 oldset = &current->blocked; in do_signal()
559 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dsignal.c132 saveset = current->blocked; in sys_sigsuspend()
133 siginitset(&current->blocked, mask); in sys_sigsuspend()
171 saveset = current->blocked; in sys_rt_sigsuspend()
172 current->blocked = newset; in sys_rt_sigsuspend()
352 current->blocked = set; in sys_rt_sigreturn()
462 current->blocked = set; in sys_sigreturn()
544 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
545 sigaddset(&current->blocked,sig); in handle_signal()
588 signr = dequeue_signal(&current->blocked, info); in get_signal_to_deliver()
621 if (sigismember(&current->blocked, signr)) { in get_signal_to_deliver()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dsignal.c83 saveset = current->blocked; in sys_sigsuspend()
84 siginitset(&current->blocked, mask); in sys_sigsuspend()
112 saveset = current->blocked; in sys_rt_sigsuspend()
113 current->blocked = newset; in sys_rt_sigsuspend()
276 current->blocked = set; in sys_sigreturn()
305 current->blocked = set; in sys_rt_sigreturn()
568 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
569 sigaddset(&current->blocked,sig); in handle_signal()
600 oldset = &current->blocked; in do_signal()
606 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dsignal.c117 saveset = current->blocked; in sys_rt_sigsuspend()
118 current->blocked = newset; in sys_rt_sigsuspend()
176 current->blocked = set; in sys_rt_sigreturn()
407 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
408 sigaddset(&current->blocked,sig); in handle_signal()
442 oldset = &current->blocked; in do_signal()
451 signr = dequeue_signal(&current->blocked, &info); in do_signal()
483 if (sigismember(&current->blocked, signr)) { in do_signal()
/linux-2.4.37.9/arch/i386/kernel/
Dsignal.c79 saveset = current->blocked; in sys_sigsuspend()
80 siginitset(&current->blocked, mask); in sys_sigsuspend()
108 saveset = current->blocked; in sys_rt_sigsuspend()
109 current->blocked = newset; in sys_rt_sigsuspend()
266 current->blocked = set; in sys_sigreturn()
294 current->blocked = set; in sys_rt_sigreturn()
572 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
573 sigaddset(&current->blocked,sig); in handle_signal()
599 oldset = &current->blocked; in do_signal()
605 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/net/khttpd/
Dmain.c122 tmpsig = current->blocked; in MainDaemon()
123 siginitsetinv(&current->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP)| sigmask(SIGHUP)); in MainDaemon()
206 tmpsig = current->blocked; in ManagementDaemon()
207 siginitsetinv(&current->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP) ); in ManagementDaemon()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsignal.c107 current->blocked = set; in sparc64_set_context()
206 err |= __put_user(current->blocked.sig[0], in sparc64_get_context()
209 err |= __copy_to_user(&ucp->uc_sigmask, &current->blocked, in sparc64_get_context()
295 saveset = current->blocked; in _sigpause_common()
296 siginitset(&current->blocked, set); in _sigpause_common()
355 oldset = current->blocked; in do_rt_sigsuspend()
356 current->blocked = set; in do_rt_sigsuspend()
466 current->blocked = set; in do_rt_sigreturn()
613 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
614 sigaddset(&current->blocked,signr); in handle_signal()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dsignal.c95 saveset = current->blocked; in sys_sigsuspend()
96 siginitset(&current->blocked, mask); in sys_sigsuspend()
130 saveset = current->blocked; in sys_rt_sigsuspend()
131 current->blocked = newset; in sys_rt_sigsuspend()
327 current->blocked = set; in sys_sigreturn()
360 current->blocked = set; in sys_rt_sigreturn()
683 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
684 sigaddset(&current->blocked,sig); in handle_signal()
714 oldset = &current->blocked; in do_signal()
720 signr = dequeue_signal(&current->blocked, &info); in do_signal()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dsignal.c98 saveset = current->blocked; in sys_rt_sigsuspend()
99 current->blocked = newset; in sys_rt_sigsuspend()
198 current->blocked = set; in sys_rt_sigreturn()
434 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); in handle_signal()
435 sigaddset(&current->blocked,sig); in handle_signal()
462 oldset = &current->blocked; in do_signal()
468 signr = dequeue_signal(&current->blocked, &info); in do_signal()
501 if (sigismember(&current->blocked, signr)) { in do_signal()
/linux-2.4.37.9/arch/sparc/kernel/
Dsignal.c142 saveset = current->blocked; in _sigpause_common()
143 siginitset(&current->blocked, set); in _sigpause_common()
199 oldset = current->blocked; in do_rt_sigsuspend()
200 current->blocked = set; in do_rt_sigsuspend()
305 current->blocked = set; in do_new_sigreturn()
352 current->blocked = set; in do_sigreturn()
422 current->blocked = set; in do_rt_sigreturn()
931 setv.sigbits[0] = current->blocked.sig[0]; in svr4_getcontext()
932 setv.sigbits[1] = current->blocked.sig[1]; in svr4_getcontext()
934 setv.sigbits[2] = current->blocked.sig[2]; in svr4_getcontext()
[all …]
/linux-2.4.37.9/fs/jffs2/
Dbackground.c114 …siginitsetinv (&current->blocked, sigmask(SIGHUP) | sigmask(SIGKILL) | sigmask(SIGSTOP) | sigmask(… in jffs2_garbage_collect_thread()
138 signr = dequeue_signal(&current->blocked, &info); in jffs2_garbage_collect_thread()
165 siginitsetinv (&current->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP) | sigmask(SIGCONT)); in jffs2_garbage_collect_thread()

123456