/linux-4.4.14/fs/ |
H A D | signalfd.c | 51 sigset_t sigmask; member in struct:signalfd_ctx 68 if (next_signal(¤t->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 D | select.c | 648 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 D | compat.c | 1350 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 D | eventpoll.c | 2008 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 D | sigcontext.h | 5 unsigned long sc_mask; /* old sigmask */
|
/linux-4.4.14/arch/h8300/include/uapi/asm/ |
H A D | sigcontext.h | 5 unsigned long sc_mask; /* old sigmask */
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
H A D | sigcontext.h | 23 unsigned long sc_oldmask; /* old sigmask */
|
/linux-4.4.14/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 177 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 D | sigcontext.h | 16 unsigned long sc_mask; /* old sigmask */
|
/linux-4.4.14/arch/um/kernel/ |
H A D | signal.c | 108 * 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 D | sigcontext.h | 14 int sigc_mask; /* sigmask to restore */
|
/linux-4.4.14/arch/nios2/kernel/ |
H A D | signal.c | 23 #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 D | usbipd.c | 492 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 D | dpti.h | 103 #define SHUTDOWN_SIGS (sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM))
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | llite_mmap.c | 200 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 D | background.c | 80 siginitset(&hupmask, sigmask(SIGHUP)); jffs2_garbage_collect_thread()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
H A D | lustre_lib.h | 520 #define LUSTRE_FATAL_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | \ 521 sigmask(SIGTERM) | sigmask(SIGQUIT) | \ 522 sigmask(SIGALRM))
|
/linux-4.4.14/fs/autofs4/ |
H A D | waitq.c | 25 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
|
/linux-4.4.14/fs/ncpfs/ |
H A D | sock.c | 761 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 D | compat.h | 452 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 D | signal.h | 100 #define sigmask(sig) (1UL << ((sig) - 1)) macro 401 #define rt_sigmask(sig) sigmask(sig)
|
H A D | syscalls.h | 635 const sigset_t __user *sigmask,
|
/linux-4.4.14/kernel/ |
H A D | signal.c | 168 (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 D | compat.c | 413 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); COMPAT_SYSCALL_DEFINE3()
|
H A D | ptrace.c | 906 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); ptrace_request()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | signal.c | 34 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | signal.c | 115 /* No signal to deliver -- put the saved sigmask back */ do_signal()
|
H A D | signal_32.c | 1524 * Note that PPC32 puts the upper 32 bits of the sigmask in the sys_sigreturn()
|
/linux-4.4.14/arch/score/kernel/ |
H A D | signal.c | 288 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | signal.c | 297 * 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 D | signal.c | 227 /* If there's no signal to deliver, put the saved sigmask back */ do_signal()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | signal.c | 266 /* No signal to deliver -- put the saved sigmask back */ do_signal()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | signal.c | 268 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | signal32.c | 104 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | signal.c | 291 /* If there's no signal to deliver, just put the saved sigmask back. */ do_signal()
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | signal.c | 306 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | signal.c | 312 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | signal.c | 402 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | signal.c | 400 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | signal.c | 399 * sigmask back. do_signal()
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | signal.c | 388 /* 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 D | signal.c | 435 /* 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 D | signal.c | 461 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/fs/lockd/ |
H A D | svc.c | 43 #define ALLOWED_SIGS (sigmask(SIGKILL))
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | signal.c | 530 * 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 D | signal_32.c | 491 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
H A D | signal_64.c | 122 /* No signal to deliver -- put the saved sigmask back */ do_signal()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | signal.c | 737 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | signal.c | 836 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | signal.c | 493 /* if there's no signal to deliver, we just put the saved sigmask ia64_do_signal()
|
/linux-4.4.14/drivers/block/ |
H A D | nbd.c | 186 siginitsetinv(&blocked, sigmask(SIGKILL)); sock_xmit()
|
/linux-4.4.14/virt/kvm/ |
H A D | kvm_main.c | 2328 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); kvm_vcpu_ioctl_set_sigmask()
|
/linux-4.4.14/fs/fuse/ |
H A D | dev.c | 106 siginitsetinv(&mask, sigmask(SIGKILL)); block_sigs()
|