Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void set_current_blocked(sigset_t *newset)

Type:void

Parameter:

TypeParameterName
sigset_t *newset
2899  sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP))
2900  __set_current_blocked(newset)
Caller
NameDescribe
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