函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:15:09
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask)

返回类型:void

参数:

类型参数名称
struct task_struct *task
unsigned longmask
339  BUG_ON(mask & ~JOBCTL_PENDING_MASK)
341  如果mask按位与JOBCTL_STOP_PENDINGmask或等于JOBCTL_STOP_CONSUME按位或JOBCTL_STOP_DEQUEUED
344  JOBCTL_*, siglock protected: 与等于mask的反
346  如果非 JOBCTL_*, siglock protected: 按位与JOBCTL_PENDING_MASK的值则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
调用者
名称描述
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
__ptrace_unlink__ptrace_unlink - unlink ptracee and restore its execution state*@child: ptracee to be unlinked* Remove @child from the ptrace list, move it back to the original parent,* and restore the execution state so that it conforms to the group stop* state
zap_process