Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ask_set_jobctl_pending - set jobctl pending bits*@task: target task*@mask: pending bits to set* Clear @mask from @task->jobctl. @mask must be subset of* %JOBCTL_PENDING_MASK | %JOBCTL_STOP_CONSUME | %JOBCTL_STOP_SIGMASK |* %JOBCTL_TRAPPING

Proto:bool task_set_jobctl_pending(struct task_struct *task, unsigned long mask)

Type:bool

Parameter:

TypeParameterName
struct task_struct *task
unsigned longmask
287  BUG_ON(mask & ~(JOBCTL_PENDING_MASK | JOBCTL_STOP_CONSUME | signr of the last group stop | JOBCTL_TRAPPING))
289  BUG_ON((mask & JOBCTL_TRAPPING) && !(mask & JOBCTL_PENDING_MASK))
291  If Value for the false possibility is greater at compile time(fatal_signal_pending(task) || ( Per task flags (PF_*), defined further below: & Getting shut down )) Then Return false
294  If mask & signr of the last group stop Then siglock protected &= ~signr of the last group stop
297  siglock protected |= mask
298  Return true
Caller
NameDescribe
ptrace_request
task_join_group_stop
ptrace_trap_notifyptrace_trap_notify - schedule trap to notify ptracer*@t: tracee wanting to notify tracer* This function schedules sticky ptrace trap which is cleared on the next* TRAP_STOP to notify ptracer of an event. @t must have been seized by* ptracer.
do_signal_stopdo_signal_stop - handle group stop for SIGSTOP and other stop signals*@signr: signr causing group stop if initiating* If %JOBCTL_STOP_PENDING is not set yet, initiate group stop with @signr* and participate in it
ptrace_init_taskptrace_init_task - initialize ptrace state for a new child*@child: new child task*@ptrace: true if child should be ptrace'd by parent's tracer* This is called immediately after adding @child to its parent's children* list