Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ask_clear_jobctl_pending - clear jobctl pending bits*@task: target task*@mask: pending bits to clear* Clear @mask from @task->jobctl. @mask must be subset of* %JOBCTL_PENDING_MASK. If %JOBCTL_STOP_PENDING is being cleared, other

Proto:void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
unsigned longmask
339  BUG_ON(mask & ~JOBCTL_PENDING_MASK)
341  If mask & JOBCTL_STOP_PENDING Then mask |= JOBCTL_STOP_CONSUME | JOBCTL_STOP_DEQUEUED
344  siglock protected &= ~mask
346  If Not (siglock protected & JOBCTL_PENDING_MASK) Then ask_clear_jobctl_trapping - clear jobctl trapping bit*@task: target task* If JOBCTL_TRAPPING is set, a ptracer is waiting for us to enter TRACED.* Clear it and wake up the ptracer. Note that we don't need any further* locking
Caller
NameDescribe
task_participate_group_stopask_participate_group_stop - participate in a group stop*@task: task participating in a group stop*@task has %JOBCTL_STOP_PENDING set and is participating in a group stop.* Group stop states are cleared and the group stop count is consumed if
prepare_signalHandle magic process-wide effects of stop/continue signals
complete_signal
zap_other_threadsNuke all other threads in the group.
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