函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:16:56
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:The api helps set app-provided sigmasks

函数原型:int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize)

返回类型:int

参数:

类型参数名称
const sigset_t __user *umask
size_tsigsetsize
2968  如果非umask则返回:0
2970  如果sigsetsize不等于sizeof(sigset_t)则返回:负EINVAL
2972  如果copy_from_user( & kmask, umask, sizeof(sigset_t))则返回:负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  返回:0
调用者
名称描述
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.
do_pselect