Home
last modified time | relevance | path

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

123

/linux-3.4.99/fs/
Dsignalfd.c49 sigset_t sigmask; member
66 if (next_signal(&current->pending, &ctx->sigmask) || in signalfd_poll()
68 &ctx->sigmask)) in signalfd_poll()
163 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
177 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
240 sigset_t sigmask; in SYSCALL_DEFINE4() local
251 copy_from_user(&sigmask, user_mask, sizeof(sigmask))) in SYSCALL_DEFINE4()
253 sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in SYSCALL_DEFINE4()
254 signotset(&sigmask); in SYSCALL_DEFINE4()
261 ctx->sigmask = sigmask; in SYSCALL_DEFINE4()
[all …]
Dselect.c620 const sigset_t __user *sigmask, size_t sigsetsize) in do_pselect() argument
635 if (sigmask) { in do_pselect()
639 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in do_pselect()
642 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in do_pselect()
655 if (sigmask) { in do_pselect()
660 } else if (sigmask) in do_pselect()
946 struct timespec __user *, tsp, const sigset_t __user *, sigmask, in SYSCALL_DEFINE5() argument
962 if (sigmask) { in SYSCALL_DEFINE5()
966 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in SYSCALL_DEFINE5()
969 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE5()
[all …]
Dcompat.c1558 struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask, in do_compat_pselect() argument
1576 if (sigmask) { in do_compat_pselect()
1579 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) in do_compat_pselect()
1583 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in do_compat_pselect()
1596 if (sigmask) { in do_compat_pselect()
1601 } else if (sigmask) in do_compat_pselect()
1628 const compat_sigset_t __user *sigmask, compat_size_t sigsetsize) in compat_sys_ppoll() argument
1645 if (sigmask) { in compat_sys_ppoll()
1648 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) in compat_sys_ppoll()
1652 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in compat_sys_ppoll()
[all …]
Deventpoll.c1799 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument
1809 if (sigmask) { in SYSCALL_DEFINE6()
1812 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in SYSCALL_DEFINE6()
1814 sigdelsetmask(&ksigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in SYSCALL_DEFINE6()
1826 if (sigmask) { in SYSCALL_DEFINE6()
/linux-3.4.99/drivers/gpu/drm/
Ddrm_lock.c120 sigemptyset(&dev->sigmask); in drm_lock()
121 sigaddset(&dev->sigmask, SIGSTOP); in drm_lock()
122 sigaddset(&dev->sigmask, SIGTSTP); in drm_lock()
123 sigaddset(&dev->sigmask, SIGTTIN); in drm_lock()
124 sigaddset(&dev->sigmask, SIGTTOU); in drm_lock()
127 block_all_signals(drm_notifier, &dev->sigdata, &dev->sigmask); in drm_lock()
/linux-3.4.99/arch/mips/kernel/
Dsignal-common.h22 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/x86/include/asm/
Dsighandling.h10 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/powerpc/kernel/
Dsignal.h13 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/kernel/
Dsignal.c162 (sigmask(SIGSEGV) | sigmask(SIGBUS) | sigmask(SIGILL) | \
163 sigmask(SIGTRAP) | sigmask(SIGFPE))
740 (mask & sigmask(q->info.si_signo))) { in rm_from_queue()
868 rm_from_queue(sigmask(SIGCONT), &signal->shared_pending); in prepare_signal()
871 rm_from_queue(sigmask(SIGCONT), &t->pending); in prepare_signal()
2597 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE4()
2750 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigtimedwait()
2991 sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigaction()
3120 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); in SYSCALL_DEFINE3()
3202 siginitset(&newset, newmask & ~(sigmask(SIGKILL) | sigmask(SIGSTOP))); in SYSCALL_DEFINE1()
[all …]
/linux-3.4.99/drivers/scsi/
Ddpti.h103 #define SHUTDOWN_SIGS (sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM))
/linux-3.4.99/arch/xtensa/include/asm/
Dsyscall.h36 struct timespec __user *tsp, const sigset_t __user *sigmask,
/linux-3.4.99/arch/openrisc/kernel/
Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/include/linux/
Dsignal.h93 #define sigmask(sig) (1UL << ((sig) - 1)) macro
347 #define rt_sigmask(sig) sigmask(sig)
Dcompat.h377 const compat_sigset_t __user *sigmask,
390 const compat_sigset_t __user *sigmask,
469 const compat_sigset_t __user *sigmask,
472 const compat_sigset_t __user *sigmask,
/linux-3.4.99/fs/autofs4/
Dwaitq.c25 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
/linux-3.4.99/arch/avr32/kernel/
Dsignal.c25 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/hexagon/kernel/
Dsignal.c34 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/c6x/kernel/
Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/m32r/kernel/
Dsignal.c31 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/tile/kernel/
Dsignal.c40 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/score/kernel/
Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/blackfin/kernel/
Dsignal.c22 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/microblaze/kernel/
Dsignal.c43 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/cris/arch-v10/kernel/
Dsignal.c34 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-3.4.99/arch/xtensa/kernel/
Dsignal.c32 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))

123