/linux-6.6.21/fs/ |
D | signalfd.c | 42 sigset_t sigmask; member 59 if (next_signal(¤t->pending, &ctx->sigmask) || in signalfd_poll() 61 &ctx->sigmask)) in signalfd_poll() 163 ret = dequeue_signal(current, &ctx->sigmask, info, &type); in signalfd_dequeue() 178 ret = dequeue_signal(current, &ctx->sigmask, info, &type); in signalfd_dequeue() 235 sigset_t sigmask; in signalfd_show_fdinfo() local 237 sigmask = ctx->sigmask; in signalfd_show_fdinfo() 238 signotset(&sigmask); in signalfd_show_fdinfo() 239 render_sigset_t(m, "sigmask:\t", &sigmask); in signalfd_show_fdinfo() 264 sigdelsetmask(mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_signalfd4() [all …]
|
D | select.c | 734 const sigset_t __user *sigmask, size_t sigsetsize, in do_pselect() argument 759 ret = set_user_sigmask(sigmask, sigsetsize); in do_pselect() 1102 struct __kernel_timespec __user *, tsp, const sigset_t __user *, sigmask, in SYSCALL_DEFINE5() argument 1117 ret = set_user_sigmask(sigmask, sigsetsize); in SYSCALL_DEFINE5() 1128 struct old_timespec32 __user *, tsp, const sigset_t __user *, sigmask, in SYSCALL_DEFINE5() argument 1143 ret = set_user_sigmask(sigmask, sigsetsize); in SYSCALL_DEFINE5() 1315 void __user *tsp, compat_sigset_t __user *sigmask, in do_compat_pselect() argument 1340 ret = set_compat_user_sigmask(sigmask, sigsetsize); in do_compat_pselect() 1401 const compat_sigset_t __user *, sigmask, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE5() argument 1415 ret = set_compat_user_sigmask(sigmask, sigsetsize); in COMPAT_SYSCALL_DEFINE5() [all …]
|
D | eventpoll.c | 2340 const sigset_t __user *sigmask, size_t sigsetsize) in do_epoll_pwait() argument 2348 error = set_user_sigmask(sigmask, sigsetsize); in do_epoll_pwait() 2360 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument 2367 sigmask, sigsetsize); in SYSCALL_DEFINE6() 2372 const sigset_t __user *, sigmask, size_t, sigsetsize) in SYSCALL_DEFINE6() argument 2385 sigmask, sigsetsize); in SYSCALL_DEFINE6() 2391 const compat_sigset_t __user *sigmask, in do_compat_epoll_pwait() argument 2400 err = set_compat_user_sigmask(sigmask, sigsetsize); in do_compat_epoll_pwait() 2414 const compat_sigset_t __user *, sigmask, in COMPAT_SYSCALL_DEFINE6() argument 2421 sigmask, sigsetsize); in COMPAT_SYSCALL_DEFINE6() [all …]
|
D | aio.c | 2228 const sigset_t __user *sigmask; member 2251 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6() 2287 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6() 2328 compat_uptr_t sigmask; member 2353 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6() 2388 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6()
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 176 sigset_t sigmask; variable 193 sigemptyset(&sigmask); in prep_args() 194 sigaddset(&sigmask, SIGINT); in prep_args() 195 sigaddset(&sigmask, SIGUSR2); in prep_args() 196 sigaddset(&sigmask, SIGRTMAX); in prep_args() 197 sigmask_desc.sp = &sigmask; in prep_args()
|
/linux-6.6.21/tools/usb/usbip/src/ |
D | usbipd.c | 499 sigset_t sigmask; in do_standalone_mode() local 554 sigfillset(&sigmask); in do_standalone_mode() 555 sigdelset(&sigmask, SIGTERM); in do_standalone_mode() 556 sigdelset(&sigmask, SIGINT); in do_standalone_mode() 562 r = ppoll(fds, nsockfd, &timeout, &sigmask); in do_standalone_mode()
|
/linux-6.6.21/kernel/ |
D | compat.c | 52 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE3()
|
D | signal.c | 206 (sigmask(SIGSEGV) | sigmask(SIGBUS) | sigmask(SIGILL) | \ 207 sigmask(SIGTRAP) | sigmask(SIGFPE) | sigmask(SIGSYS)) 734 (sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) { in dequeue_synchronous_signal() 929 siginitset(&flush, sigmask(SIGCONT)); in prepare_signal() 3066 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP)); in set_current_blocked() 3192 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE4() 3222 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE4() 3623 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigtimedwait() 4162 sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigaction()
|
D | ptrace.c | 1109 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in ptrace_request()
|
D | fork.c | 2339 siginitsetinv(&p->blocked, sigmask(SIGKILL)|sigmask(SIGSTOP)); in copy_process()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 526 struct kvm_signal_mask *sigmask = alloca(offsetof(struct kvm_signal_mask, sigset) in vcpu_worker() local 528 sigset_t *sigset = (sigset_t *) &sigmask->sigset; in vcpu_worker() 535 sigmask->len = 8; in vcpu_worker() 538 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
|
/linux-6.6.21/include/linux/ |
D | compat.h | 588 const compat_sigset_t __user *sigmask, 594 const compat_sigset_t __user *sigmask, 655 const compat_sigset_t __user *sigmask, 660 const compat_sigset_t __user *sigmask, 663 const compat_sigset_t __user *sigmask, 818 const compat_sigset_t __user *sigmask,
|
D | signal.h | 126 #define sigmask(sig) (1UL << ((sig) - 1)) macro 412 #define rt_sigmask(sig) sigmask(sig)
|
D | syscalls.h | 366 const sigset_t __user *sigmask, 371 const sigset_t __user *sigmask,
|
/linux-6.6.21/fs/jffs2/ |
D | background.c | 80 siginitset(&hupmask, sigmask(SIGHUP)); in jffs2_garbage_collect_thread()
|
/linux-6.6.21/arch/nios2/kernel/ |
D | signal.c | 23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 1128 int sigmask = 0; in nfp6000_explicit_do() local 1133 sigmask |= 1 << cmd->siga; in nfp6000_explicit_do() 1135 sigmask |= 1 << cmd->sigb; in nfp6000_explicit_do() 1155 csr[0] = NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(sigmask) | in nfp6000_explicit_do() 1212 return sigmask; in nfp6000_explicit_do()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | signal.c | 36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
|
/linux-6.6.21/include/uapi/linux/ |
D | io_uring.h | 695 __u64 sigmask; member
|
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 3171 sigset_t sigmask; in epoll60_wait_thread() local 3176 sigemptyset(&sigmask); in epoll60_wait_thread() 3177 sigaddset(&sigmask, SIGUSR1); in epoll60_wait_thread() 3178 sigprocmask(SIG_SETMASK, &sigmask, NULL); in epoll60_wait_thread() 3181 sigemptyset(&sigmask); in epoll60_wait_thread() 3194 ret = epoll_pwait(ctx->epfd, &e, 1, 2000, &sigmask); in epoll60_wait_thread()
|
/linux-6.6.21/fs/ceph/ |
D | addr.c | 1573 siginitsetinv(&mask, sigmask(SIGKILL)); in ceph_block_sigs()
|
/linux-6.6.21/virt/kvm/ |
D | kvm_main.c | 4057 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); in kvm_vcpu_ioctl_set_sigmask()
|
/linux-6.6.21/Documentation/filesystems/ |
D | proc.rst | 1964 sigmask: 0000000000000200 1966 where 'sigmask' is hex value of the signal mask associated
|
/linux-6.6.21/io_uring/ |
D | io_uring.c | 3613 *sig = u64_to_user_ptr(arg.sigmask); in io_get_ext_arg()
|