Function report |
Source Code:kernel\ptrace.c |
Create Date:2022-07-28 09:13:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ptrace_writedata
Proto:int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
char __user * | src | |
unsigned long | dst | |
int | len |
621 | copied = 0 |
628 | If copy_from_user(buf, src, this_len) Then Return -EFAULT |
630 | 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 |
632 | If Not retval Then |
642 | 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 |