Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dsignalfd.c42 sigset_t sigmask; member
59 if (next_signal(&current->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 …]
Dselect.c734 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 …]
Deventpoll.c2340 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 …]
Daio.c2228 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/
Dtest_syscall_vdso.c176 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/
Dusbipd.c499 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/
Dcompat.c52 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE3()
Dsignal.c206 (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()
Dptrace.c1109 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in ptrace_request()
Dfork.c2339 siginitsetinv(&p->blocked, sigmask(SIGKILL)|sigmask(SIGSTOP)); in copy_process()
/linux-6.6.21/tools/testing/selftests/kvm/
Ddirty_log_test.c526 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/
Dcompat.h588 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,
Dsignal.h126 #define sigmask(sig) (1UL << ((sig) - 1)) macro
412 #define rt_sigmask(sig) sigmask(sig)
Dsyscalls.h366 const sigset_t __user *sigmask,
371 const sigset_t __user *sigmask,
/linux-6.6.21/fs/jffs2/
Dbackground.c80 siginitset(&hupmask, sigmask(SIGHUP)); in jffs2_garbage_collect_thread()
/linux-6.6.21/arch/nios2/kernel/
Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c1128 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/
Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-6.6.21/include/uapi/linux/
Dio_uring.h695 __u64 sigmask; member
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c3171 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/
Daddr.c1573 siginitsetinv(&mask, sigmask(SIGKILL)); in ceph_block_sigs()
/linux-6.6.21/virt/kvm/
Dkvm_main.c4057 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); in kvm_vcpu_ioctl_set_sigmask()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst1964 sigmask: 0000000000000200
1966 where 'sigmask' is hex value of the signal mask associated
/linux-6.6.21/io_uring/
Dio_uring.c3613 *sig = u64_to_user_ptr(arg.sigmask); in io_get_ext_arg()