Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\signal.h Create Date:2022-07-28 05:38:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sigandnsets

Proto:static inline void sigandnsets(sigset_t *r, const sigset_t *a, const sigset_t *b)

Type:void

Parameter:

TypeParameterName
sigset_t *r
const sigset_t *a
const sigset_t *b
153  Case / == 4
153  a3 = sig[3]
153  a2 = sig[2]
153  b3 = sig[3]
153  b2 = sig[2]
153  sig[3] = a3 & ~b3
153  sig[2] = a2 & ~b2
153  Case / == 2
153  a1 = sig[1]
153  b1 = sig[1]
153  sig[1] = a1 & ~b1
153  Case / == 1
153  a0 = sig[0]
153  b0 = sig[0]
153  sig[0] = a0 & ~b0
153  Break
153  Default
153  Do
153  When 0 cycle
Caller
NameDescribe
flush_sigqueue_maskRemove signals in mask from the pending set and queue.* Returns 1 if any signals were found.* All callers must be holding the siglock.
__set_task_blocked
sigprocmaskThis is also useful for kernel threads that want to temporarily* (or permanently) block certain signals.* NOTE! Unlike the user-mode sys_sigprocmask(), the kernel* interface happily blocks "unblockable" signals like SIGKILL* and friends.