| Function report | 
| Source Code: kernel\ptrace.c | Create Date:2022-07-28 09:13:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__ptrace_link
Proto:void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, const struct cred *ptracer_cred)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | child | |
| struct task_struct * | new_parent | |
| const struct cred * | ptracer_cred | 
| Name | Describe | 
|---|---|
| ptrace_link | ptrace a task: make the debugger its new parent and* move it to the ptrace list.* Must be called with the tasklist lock write-held. | 
| ptrace_init_task | ptrace_init_task - initialize ptrace state for a new child*@child: new child task*@ptrace: true if child should be ptrace'd by parent's tracer* This is called immediately after adding @child to its parent's children* list | 
| 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 |