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:sigismember

Proto:static inline int sigismember(sigset_t *set, int _sig)

Type:int

Parameter:

TypeParameterName
sigset_t *set
int_sig
74  sig = _sig - 1
75  If _NSIG_WORDS == 1 Then Return 1 & sig[0] >> sig
77  Else Return 1 & sig[sig / _NSIG_BPW] >> sig % _NSIG_BPW
Caller
NameDescribe
sig_ignored
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.
wants_signalTest if P wants to take SIG. After we've checked all threads with this,* it's equivalent to finding no threads not blocking SIG. Any threads not* blocking SIG were ruled out because they are not running and already* have pending signals
complete_signal
legacy_queue
force_sig_info_to_taskForce a signal that the process can't ignore: if necessary* we unblock the signal and change any SIG_IGN to SIG_DFL.* Note: If we unblock the signal, we always reset it to SIG_DFL,* since we do not want to have a signal handler that was blocked
sigkill_pendingReturn non-zero if there is a SIGKILL that should be waking us up.* Called with the siglock held.
ptrace_signal