Function report |
Source Code:kernel\ptrace.c |
Create Date:2022-07-28 09:13:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptrace_readdata
Proto:int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
unsigned long | src | |
char __user * | dst | |
int | len |
595 | copied = 0 |
602 | retval = 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 |
604 | If Not retval Then |
609 | If copy_to_user(dst, buf, retval) Then Return -EFAULT |
616 | Return copied |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |