Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ask_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

Proto:static bool task_participate_group_stop(struct task_struct *task)

Type:bool

Parameter:

TypeParameterName
struct task_struct *task
368  sig = Signal handlers:
369  consume = siglock protected & JOBCTL_STOP_CONSUME
371  WARN_ON_ONCE(!(siglock protected & JOBCTL_STOP_PENDING))
373  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
375  If Not consume Then Return false
378  If Not WARN_ON_ONCE(hread group stop support, overloads group_exit_code too == 0) Then hread group stop support, overloads group_exit_code too --
385  If Not hread group stop support, overloads group_exit_code too && Not (see SIGNAL_* flags below & job control stop in effect ) Then
386  signal_set_stop_flags(sig, job control stop in effect )
387  Return true
389  Return false
Caller
NameDescribe
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
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
exit_signals