Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:generic_ptrace_peekdata

Proto:int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, unsigned long data)

Type:int

Parameter:

TypeParameterName
struct task_struct *tsk
unsigned longaddr
unsigned longdata
1293  copied = Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages
1294  If copied != size of tmp Then Return -EIO
1296  Return Write a simple value into user space(tmp, (unsignedlong__user * )data)
Caller
NameDescribe
ptrace_request