Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:43:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Access another process' address space.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages
Proto:int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, unsigned int gup_flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| unsigned long | addr | |
| void * | buf | |
| int | len | |
| unsigned int | gup_flags |
| 4555 | If Not mm Then Return 0 |
| 4562 | Return ret |
| Name | Describe |
|---|---|
| get_cmdline | get_cmdline() - copy the cmdline value to a buffer.*@task: the task whose cmdline value to copy.*@buffer: the buffer to copy to.*@buflen: the length of the buffer. Larger cmdline values are truncated* to this length. |
| 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 |