函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void ptrace_trap_notify(struct task_struct *t)

返回类型:void

参数:

类型参数名称
struct task_struct *t
877  WARN_ON_ONCE(!(ptrace & SEIZE used, enable new behavior ))
878  assert_spin_locked( & siglock)
880  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
881  ptrace_signal_wake_up(t, JOBCTL_*, siglock protected: & JOBCTL_LISTENING)
调用者
名称描述
prepare_signalHandle magic process-wide effects of stop/continue signals
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