Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sig_task_ignored

Proto:static bool sig_task_ignored(struct task_struct *t, int sig, bool force)

Type:bool

Parameter:

TypeParameterName
struct task_struct *t
intsig
boolforce
81  __user * handler
83  handler = sig_handler(t, sig)
86  If Value for the false possibility is greater at compile time(s_global_init - check if a task structure is init. Since init* is free to have sub-threads we need to check tgid.*@tsk: Task structure to be checked.* Check if a task structure is the first user space task the kernel created. && sig_kernel_only(sig)) Then Return true
89  If Value for the false possibility is greater at compile time( Per task flags (PF_*), defined further below: & r init: ignore fatal signals ) && handler == default signal handling && Not (force && sig_kernel_only(sig)) Then Return true
94  If Value for the false possibility is greater at compile time(( Per task flags (PF_*), defined further below: & I am a kernel thread ) && (handler == SIG_KTHREAD_KERNEL) && !force) Then Return true
98  Return sig_handler_ignored(handler, sig)
Caller
NameDescribe
sig_ignored