| Function report | 
| Source Code: kernel\ptrace.c | Create Date:2022-07-28 09:13:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called with tasklist_lock held for writing
Proto:static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | tracer | |
| struct task_struct * | p | 
| 530 | If exit state != EXIT_ZOMBIE Then Return false | 
| 533 | dead = Not thread_group_leader(p) | 
| 535 | If Not dead && thread_group_empty(p) Then | 
| 539 | __wake_up_parent(p, tracer) | 
| 540 | dead = true | 
| 544 | If dead Then exit state = Used in tsk->exit_state: | 
| 546 | Return dead | 
| Name | Describe | 
|---|---|
| ptrace_detach | |
| exit_ptrace | Detach all tasks we were using ptrace on. Called with tasklist held* for writing. | 
| 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 |