Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:16:59
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:The api helps set app-provided sigmasks

Proto:int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize)

Type:int

Parameter:

TypeParameterName
const sigset_t __user *umask
size_tsigsetsize
2968  If Not umask Then Return 0
2970  If sigsetsize != sizeof(sigset_t) Then Return -EINVAL
2972  If copy_from_user( & kmask, umask, sizeof(sigset_t)) Then Return -EFAULT
2975  Higher-quality implementation, used if TIF_RESTORE_SIGMASK doesn't exist.
2976  saved_sigmask = blocked
2977  set_current_blocked - change current->blocked mask*@newset: new mask* It is wrong to change ->blocked directly, this helper should be used* to ensure the process can't miss a shared signal we are going to block.
2979  Return 0
Caller
NameDescribe
SYSCALL_DEFINE5
SYSCALL_DEFINE6Implement the event wait interface for the eventpoll file. It is the kernel* part of the user space epoll_pwait(2).
SYSCALL_DEFINE6
io_cqring_waitWait until events become available, if we don't already have some. The* application must reap them itself, as they reside on the shared cq ring.