Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\ptrace.c Create Date:2022-07-28 09:13:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ptrace_detach

Proto:static int ptrace_detach(struct task_struct *child, unsigned int data)

Type:int

Parameter:

TypeParameterName
struct task_struct *child
unsigned intdata
551  If Not Test if 'sig' is valid signal. Use this instead of testing _NSIG directly Then Return -EIO
555  Called by kernel/ptrace.c when detaching..* Make sure the single step bit is not set.
557  write_lock_irq( & tasklist_lock)
562  WARN_ON(!ptrace || exit state)
567  exit code = data
568  Called with tasklist_lock held for writing
569  write_unlock_irq( & tasklist_lock)
571  proc_ptrace_connector(child, PTRACE_DETACH)
573  Return 0
Caller
NameDescribe
ptrace_request