Home
last modified time | relevance | path

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

/linux-6.1.9/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.c2280 const sigset_t __user *sigmask, size_t sigsetsize) in do_epoll_pwait() argument
2288 error = set_user_sigmask(sigmask, sigsetsize); in do_epoll_pwait()
2300 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument
2307 sigmask, sigsetsize); in SYSCALL_DEFINE6()
2312 const sigset_t __user *, sigmask, size_t, sigsetsize) in SYSCALL_DEFINE6() argument
2325 sigmask, sigsetsize); in SYSCALL_DEFINE6()
2331 const compat_sigset_t __user *sigmask, in do_compat_epoll_pwait() argument
2340 err = set_compat_user_sigmask(sigmask, sigsetsize); in do_compat_epoll_pwait()
2354 const compat_sigset_t __user *, sigmask, in COMPAT_SYSCALL_DEFINE6() argument
2361 sigmask, sigsetsize); in COMPAT_SYSCALL_DEFINE6()
[all …]
Daio.c2239 const sigset_t __user *sigmask; member
2262 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6()
2298 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6()
2339 compat_uptr_t sigmask; member
2364 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6()
2399 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6()
/linux-6.1.9/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.1.9/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.1.9/tools/testing/selftests/kvm/
Ddirty_log_test.c514 struct kvm_signal_mask *sigmask = alloca(offsetof(struct kvm_signal_mask, sigset) in vcpu_worker() local
516 sigset_t *sigset = (sigset_t *) &sigmask->sigset; in vcpu_worker()
523 sigmask->len = 8; in vcpu_worker()
526 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/linux-6.1.9/kernel/
Dcompat.c52 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE3()
Dsignal.c204 (sigmask(SIGSEGV) | sigmask(SIGBUS) | sigmask(SIGILL) | \
205 sigmask(SIGTRAP) | sigmask(SIGFPE) | sigmask(SIGSYS))
728 (sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) { in dequeue_synchronous_signal()
923 siginitset(&flush, sigmask(SIGCONT)); in prepare_signal()
3030 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP)); in set_current_blocked()
3156 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE4()
3186 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE4()
3587 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigtimedwait()
4126 sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigaction()
Dptrace.c1108 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in ptrace_request()
Dfork.c2099 siginitsetinv(&p->blocked, sigmask(SIGKILL)|sigmask(SIGSTOP)); in copy_process()
/linux-6.1.9/include/linux/
Dcompat.h594 const compat_sigset_t __user *sigmask,
600 const compat_sigset_t __user *sigmask,
675 const compat_sigset_t __user *sigmask,
680 const compat_sigset_t __user *sigmask,
685 const compat_sigset_t __user *sigmask,
884 const compat_sigset_t __user *sigmask,
Dsignal.h126 #define sigmask(sig) (1UL << ((sig) - 1)) macro
412 #define rt_sigmask(sig) sigmask(sig)
Dsyscalls.h387 const sigset_t __user *sigmask,
392 const sigset_t __user *sigmask,
/linux-6.1.9/fs/jffs2/
Dbackground.c80 siginitset(&hupmask, sigmask(SIGHUP)); in jffs2_garbage_collect_thread()
/linux-6.1.9/arch/nios2/kernel/
Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c1126 int sigmask = 0; in nfp6000_explicit_do() local
1131 sigmask |= 1 << cmd->siga; in nfp6000_explicit_do()
1133 sigmask |= 1 << cmd->sigb; in nfp6000_explicit_do()
1153 csr[0] = NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(sigmask) | in nfp6000_explicit_do()
1210 return sigmask; in nfp6000_explicit_do()
/linux-6.1.9/arch/alpha/kernel/
Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-6.1.9/include/uapi/linux/
Dio_uring.h653 __u64 sigmask; member
/linux-6.1.9/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.1.9/fs/lockd/
Dsvc.c48 #define ALLOWED_SIGS (sigmask(SIGKILL))
/linux-6.1.9/fs/ceph/
Daddr.c1391 siginitsetinv(&mask, sigmask(SIGKILL)); in ceph_block_sigs()
/linux-6.1.9/virt/kvm/
Dkvm_main.c3995 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); in kvm_vcpu_ioctl_set_sigmask()
/linux-6.1.9/Documentation/filesystems/
Dproc.rst1942 sigmask: 0000000000000200
1944 where 'sigmask' is hex value of the signal mask associated
/linux-6.1.9/io_uring/
Dio_uring.c3128 *sig = u64_to_user_ptr(arg.sigmask); in io_get_ext_arg()