函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void set_current_blocked(sigset_t *newset)

返回类型:void

参数:

类型参数名称
sigset_t *newset
2899  sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP))
2900  __set_current_blocked(newset)
调用者
名称描述
sys_rt_sigreturn
signal_deliveredsignal_delivered - *@ksig: kernel signal struct*@stepping: nonzero if debugger single-step or block-step in use* This function should be called when a signal has successfully been* delivered
set_user_sigmaskThe api helps set app-provided sigmasks
set_compat_user_sigmask
SYSCALL_DEFINE3sys_sigprocmask - examine and change blocked signals*@how: whether to add, remove, or set signals*@nset: signals to add or remove (if non-null)*@oset: previous value of signal mask if non-null* Some platforms have their own version with special arguments;
sigsuspend
COMPAT_SYSCALL_DEFINE3
sys_sigreturn