Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:recalc_sigpending_tsk

Proto:static bool recalc_sigpending_tsk(struct task_struct *t)

Type:bool

Parameter:

TypeParameterName
struct task_struct *t
156  If siglock protected & (JOBCTL_PENDING_MASK | JOBCTL_TRAP_FREEZE) || PENDING( & pending, & blocked) || PENDING( & shared_pending, & blocked) || cgroup_task_frozen(t) Then
160  Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
161  Return true
169  Return false
Caller
NameDescribe
recalc_sigpending_and_wakeAfter recalculating TIF_SIGPENDING, we need to make sure the task wakes up.* This is superfluous when called on current, the wakeup is a harmless no-op.
recalc_sigpending
ptrace_stopThis must be called with current->sighand->siglock held.* This should be the path for all ptrace stops.* We always set current->last_siginfo while stopped here.* That makes it a way to test a stopped process for