Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ptrace_do_notify

Proto:static void ptrace_do_notify(int signr, int exit_code, int why)

Type:void

Parameter:

TypeParameterName
intsignr
intexit_code
intwhy
2256  clear_siginfo( & info)
2257  si_signo = signr
2258  si_code = exit_code
2259  si_pid = task_pid_vnr(current process)
2260  si_uid = from_kuid_munged(current_user_ns(), current_uid())
2263  This 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
Caller
NameDescribe
ptrace_notify
do_jobctl_trapdo_jobctl_trap - take care of ptrace jobctl traps* When PT_SEIZED, it's used for both group stop and explicit* SEIZE/INTERRUPT traps. Both generate PTRACE_EVENT_STOP trap with* accompanying siginfo. If stopped, lower eight bits of exit_code contain