函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\signal.h Create Date:2022-07-27 06:41:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sigismember

函数原型:static inline int sigismember(sigset_t *set, int _sig)

返回类型:int

参数:

类型参数名称
sigset_t *set
int_sig
74  sig等于_sig减1
75  如果_NSIG_WORDS恒等于1则返回:1按位与信号[0]右移sig
77  否则返回:1按位与信号[sig / _NSIG_BPW]右移sig取模_NSIG_BPW
调用者
名称描述
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
__fatal_signal_pending