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

/linux-4.4.14/fs/
H A Dsignalfd.c51 sigset_t sigmask; member in struct:signalfd_ctx
68 if (next_signal(&current->pending, &ctx->sigmask) || signalfd_poll()
70 &ctx->sigmask)) signalfd_poll()
166 ret = dequeue_signal(current, &ctx->sigmask, info); signalfd_dequeue()
180 ret = dequeue_signal(current, &ctx->sigmask, info); signalfd_dequeue()
237 sigset_t sigmask; signalfd_show_fdinfo() local
239 sigmask = ctx->sigmask; signalfd_show_fdinfo()
240 signotset(&sigmask); signalfd_show_fdinfo()
241 render_sigset_t(m, "sigmask:\t", &sigmask); signalfd_show_fdinfo()
258 sigset_t sigmask; SYSCALL_DEFINE4() local
269 copy_from_user(&sigmask, user_mask, sizeof(sigmask))) SYSCALL_DEFINE4()
271 sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); SYSCALL_DEFINE4()
272 signotset(&sigmask); SYSCALL_DEFINE4()
279 ctx->sigmask = sigmask; SYSCALL_DEFINE4()
299 ctx->sigmask = sigmask; SYSCALL_DEFINE4()
317 const compat_sigset_t __user *,sigmask, COMPAT_SYSCALL_DEFINE4()
327 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) COMPAT_SYSCALL_DEFINE4()
338 const compat_sigset_t __user *,sigmask, COMPAT_SYSCALL_DEFINE3()
341 return compat_sys_signalfd4(ufd, sigmask, sigsetsize, 0); COMPAT_SYSCALL_DEFINE3()
H A Dselect.c648 const sigset_t __user *sigmask, size_t sigsetsize) do_pselect()
663 if (sigmask) { do_pselect()
667 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) do_pselect()
670 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); do_pselect()
683 if (sigmask) { do_pselect()
688 } else if (sigmask) do_pselect()
992 struct timespec __user *, tsp, const sigset_t __user *, sigmask, SYSCALL_DEFINE5()
1008 if (sigmask) { SYSCALL_DEFINE5()
1012 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) SYSCALL_DEFINE5()
1015 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); SYSCALL_DEFINE5()
1028 if (sigmask) { SYSCALL_DEFINE5()
1034 } else if (sigmask) SYSCALL_DEFINE5()
646 do_pselect(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timespec __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize) do_pselect() argument
H A Dcompat.c1350 struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask, do_compat_pselect()
1368 if (sigmask) { do_compat_pselect()
1371 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) do_compat_pselect()
1375 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); do_compat_pselect()
1388 if (sigmask) { do_compat_pselect()
1393 } else if (sigmask) do_compat_pselect()
1420 const compat_sigset_t __user *, sigmask, compat_size_t, sigsetsize) COMPAT_SYSCALL_DEFINE5()
1437 if (sigmask) { COMPAT_SYSCALL_DEFINE5()
1440 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) COMPAT_SYSCALL_DEFINE5()
1444 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); COMPAT_SYSCALL_DEFINE5()
1457 if (sigmask) { COMPAT_SYSCALL_DEFINE5()
1463 } else if (sigmask) COMPAT_SYSCALL_DEFINE5()
1348 do_compat_pselect(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask, compat_size_t sigsetsize) do_compat_pselect() argument
H A Deventpoll.c2008 int, maxevents, int, timeout, const sigset_t __user *, sigmask, SYSCALL_DEFINE6()
2018 if (sigmask) { SYSCALL_DEFINE6()
2021 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) SYSCALL_DEFINE6()
2035 if (sigmask) { SYSCALL_DEFINE6()
2051 const compat_sigset_t __user *, sigmask, COMPAT_SYSCALL_DEFINE6()
2062 if (sigmask) { COMPAT_SYSCALL_DEFINE6()
2065 if (copy_from_user(&csigmask, sigmask, sizeof(csigmask))) COMPAT_SYSCALL_DEFINE6()
2080 if (sigmask) { COMPAT_SYSCALL_DEFINE6()
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dsigcontext.h5 unsigned long sc_mask; /* old sigmask */
/linux-4.4.14/arch/h8300/include/uapi/asm/
H A Dsigcontext.h5 unsigned long sc_mask; /* old sigmask */
/linux-4.4.14/arch/frv/include/uapi/asm/
H A Dsigcontext.h23 unsigned long sc_oldmask; /* old sigmask */
/linux-4.4.14/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c177 sigset_t sigmask; variable
194 sigemptyset(&sigmask); prep_args()
195 sigaddset(&sigmask, SIGINT); prep_args()
196 sigaddset(&sigmask, SIGUSR2); prep_args()
197 sigaddset(&sigmask, SIGRTMAX); prep_args()
198 sigmask_desc.sp = &sigmask; prep_args()
/linux-4.4.14/arch/c6x/include/uapi/asm/
H A Dsigcontext.h16 unsigned long sc_mask; /* old sigmask */
/linux-4.4.14/arch/um/kernel/
H A Dsignal.c108 * if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/sparc/include/asm/
H A Dsigcontext.h14 int sigc_mask; /* sigmask to restore */
/linux-4.4.14/arch/nios2/kernel/
H A Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
291 * If there's no signal to deliver, we just put the saved sigmask back. do_signal()
/linux-4.4.14/tools/usb/usbip/src/
H A Dusbipd.c492 sigset_t sigmask; do_standalone_mode() local
550 sigfillset(&sigmask); do_standalone_mode()
551 sigdelset(&sigmask, SIGTERM); do_standalone_mode()
552 sigdelset(&sigmask, SIGINT); do_standalone_mode()
558 r = ppoll(fds, nsockfd, &timeout, &sigmask); do_standalone_mode()
/linux-4.4.14/drivers/scsi/
H A Ddpti.h103 #define SHUTDOWN_SIGS (sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM))
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dllite_mmap.c200 set = cfs_block_sigsinv(sigmask(SIGKILL) | sigmask(SIGTERM)); ll_page_mkwrite0()
350 set = cfs_block_sigsinv(sigmask(SIGKILL) | sigmask(SIGTERM)); ll_fault()
/linux-4.4.14/fs/jffs2/
H A Dbackground.c80 siginitset(&hupmask, sigmask(SIGHUP)); jffs2_garbage_collect_thread()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_lib.h520 #define LUSTRE_FATAL_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | \
521 sigmask(SIGTERM) | sigmask(SIGQUIT) | \
522 sigmask(SIGALRM))
/linux-4.4.14/fs/autofs4/
H A Dwaitq.c25 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
/linux-4.4.14/fs/ncpfs/
H A Dsock.c761 mask = sigmask(SIGKILL); ncp_do_request()
767 sigmask at all? -- r~ */ ncp_do_request()
769 mask |= sigmask(SIGINT); ncp_do_request()
771 mask |= sigmask(SIGQUIT); ncp_do_request()
/linux-4.4.14/include/linux/
H A Dcompat.h452 const compat_sigset_t __user *sigmask,
465 const compat_sigset_t __user *sigmask,
548 const compat_sigset_t __user *sigmask,
551 const compat_sigset_t __user *sigmask,
H A Dsignal.h100 #define sigmask(sig) (1UL << ((sig) - 1)) macro
401 #define rt_sigmask(sig) sigmask(sig)
H A Dsyscalls.h635 const sigset_t __user *sigmask,
/linux-4.4.14/kernel/
H A Dsignal.c168 (sigmask(SIGSEGV) | sigmask(SIGBUS) | sigmask(SIGILL) | \
169 sigmask(SIGTRAP) | sigmask(SIGFPE) | sigmask(SIGSYS))
800 siginitset(&flush, sigmask(SIGCONT)); prepare_signal()
2331 saved sigmask was stored on the signal frame, signal_delivered()
2333 simply clear the restore sigmask flag. */ signal_delivered()
2480 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP)); set_current_blocked()
2550 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); SYSCALL_DEFINE4()
2584 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); COMPAT_SYSCALL_DEFINE4()
2772 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); do_sigtimedwait()
3064 sigmask(SIGKILL) | sigmask(SIGSTOP)); do_sigaction()
3600 "The sigmask lock is held somewhere else in " kdb_send_sig_info()
H A Dcompat.c413 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); COMPAT_SYSCALL_DEFINE3()
H A Dptrace.c906 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); ptrace_request()
/linux-4.4.14/arch/alpha/kernel/
H A Dsignal.c34 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-4.4.14/arch/powerpc/kernel/
H A Dsignal.c115 /* No signal to deliver -- put the saved sigmask back */ do_signal()
H A Dsignal_32.c1524 * Note that PPC32 puts the upper 32 bits of the sigmask in the sys_sigreturn()
/linux-4.4.14/arch/score/kernel/
H A Dsignal.c288 * If there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/metag/kernel/
H A Dsignal.c297 * If there's no signal to deliver, we just put the saved sigmask back. do_signal()
/linux-4.4.14/arch/hexagon/kernel/
H A Dsignal.c227 /* If there's no signal to deliver, put the saved sigmask back */ do_signal()
/linux-4.4.14/arch/avr32/kernel/
H A Dsignal.c266 /* No signal to deliver -- put the saved sigmask back */ do_signal()
/linux-4.4.14/arch/blackfin/kernel/
H A Dsignal.c268 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/arm64/kernel/
H A Dsignal32.c104 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-4.4.14/arch/tile/kernel/
H A Dsignal.c291 /* If there's no signal to deliver, just put the saved sigmask back. */ do_signal()
/linux-4.4.14/arch/c6x/kernel/
H A Dsignal.c306 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/microblaze/kernel/
H A Dsignal.c312 * If there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/mn10300/kernel/
H A Dsignal.c402 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/frv/kernel/
H A Dsignal.c400 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/unicore32/kernel/
H A Dsignal.c399 * sigmask back. do_signal()
/linux-4.4.14/arch/arc/kernel/
H A Dsignal.c388 /* If there's no signal to deliver, restore the saved sigmask back */ do_signal()
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dsignal.c435 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dsignal.c461 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/fs/lockd/
H A Dsvc.c43 #define ALLOWED_SIGS (sigmask(SIGKILL))
/linux-4.4.14/arch/s390/kernel/
H A Dsignal.c530 * If there's no signal to deliver, we just put the saved sigmask back. do_signal()
/linux-4.4.14/arch/sh/kernel/
H A Dsignal_32.c491 * If there's no signal to deliver, we just put the saved sigmask do_signal()
H A Dsignal_64.c122 /* No signal to deliver -- put the saved sigmask back */ do_signal()
/linux-4.4.14/arch/x86/kernel/
H A Dsignal.c737 * If there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/mips/kernel/
H A Dsignal.c836 * If there's no signal to deliver, we just put the saved sigmask do_signal()
/linux-4.4.14/arch/ia64/kernel/
H A Dsignal.c493 /* if there's no signal to deliver, we just put the saved sigmask ia64_do_signal()
/linux-4.4.14/drivers/block/
H A Dnbd.c186 siginitsetinv(&blocked, sigmask(SIGKILL)); sock_xmit()
/linux-4.4.14/virt/kvm/
H A Dkvm_main.c2328 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); kvm_vcpu_ioctl_set_sigmask()
/linux-4.4.14/fs/fuse/
H A Ddev.c106 siginitsetinv(&mask, sigmask(SIGKILL)); block_sigs()

Completed in 1687 milliseconds