Home
last modified time | relevance | path

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

/fs/
Dsignalfd.c33 sigset_t sigmask; member
50 if (next_signal(&current->pending, &ctx->sigmask) || in signalfd_poll()
52 &ctx->sigmask)) in signalfd_poll()
135 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
149 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
211 sigset_t sigmask; in SYSCALL_DEFINE4() local
222 copy_from_user(&sigmask, user_mask, sizeof(sigmask))) in SYSCALL_DEFINE4()
224 sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in SYSCALL_DEFINE4()
225 signotset(&sigmask); in SYSCALL_DEFINE4()
232 ctx->sigmask = sigmask; in SYSCALL_DEFINE4()
[all …]
Dselect.c587 const sigset_t __user *sigmask, size_t sigsetsize) in do_pselect() argument
602 if (sigmask) { in do_pselect()
606 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in do_pselect()
609 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in do_pselect()
622 if (sigmask) { in do_pselect()
627 } else if (sigmask) in do_pselect()
894 struct timespec __user *, tsp, const sigset_t __user *, sigmask, in SYSCALL_DEFINE5() argument
910 if (sigmask) { in SYSCALL_DEFINE5()
914 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in SYSCALL_DEFINE5()
917 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE5()
[all …]
Dcompat.c1714 struct compat_timespec __user *tsp, compat_sigset_t __user *sigmask, in do_compat_pselect() argument
1732 if (sigmask) { in do_compat_pselect()
1735 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) in do_compat_pselect()
1739 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in do_compat_pselect()
1752 if (sigmask) { in do_compat_pselect()
1757 } else if (sigmask) in do_compat_pselect()
1784 const compat_sigset_t __user *sigmask, compat_size_t sigsetsize) in compat_sys_ppoll() argument
1801 if (sigmask) { in compat_sys_ppoll()
1804 if (copy_from_user(&ss32, sigmask, sizeof(ss32))) in compat_sys_ppoll()
1808 sigdelsetmask(&ksigmask, sigmask(SIGKILL)|sigmask(SIGSTOP)); in compat_sys_ppoll()
[all …]
Deventpoll.c1307 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument
1317 if (sigmask) { in SYSCALL_DEFINE6()
1320 if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask))) in SYSCALL_DEFINE6()
1322 sigdelsetmask(&ksigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in SYSCALL_DEFINE6()
1334 if (sigmask) { in SYSCALL_DEFINE6()
/fs/autofs/
Dwaitq.c24 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
160 sigset_t sigmask; in autofs_wait() local
162 siginitsetinv(&sigmask, SHUTDOWN_SIGS); in autofs_wait()
163 sigprocmask(SIG_BLOCK, &sigmask, &sigmask); in autofs_wait()
167 sigprocmask(SIG_SETMASK, &sigmask, NULL); in autofs_wait()
/fs/autofs4/
Dwaitq.c25 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
/fs/ncpfs/
Dsock.c760 mask = sigmask(SIGKILL); in ncp_do_request()
768 mask |= sigmask(SIGINT); in ncp_do_request()
770 mask |= sigmask(SIGQUIT); in ncp_do_request()
/fs/lockd/
Dsvc.c42 #define ALLOWED_SIGS (sigmask(SIGKILL))
/fs/fuse/
Ddev.c67 siginitsetinv(&mask, sigmask(SIGKILL)); in block_sigs()