Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void ptrace_trap_notify(struct task_struct *t)

Type:void

Parameter:

TypeParameterName
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, siglock protected & JOBCTL_LISTENING)
Caller
NameDescribe
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