函数逻辑报告 |
Source Code:kernel\ptrace.c |
Create Date:2022-07-27 10:13:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called with tasklist_lock held for writing
函数原型:static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tracer | |
struct task_struct * | p |
530 | 如果进程退出时状态不等于EXIT_ZOMBIE则返回:false |
533 | dead等于非thread_group_leader(p) |
535 | 如果非dead且thread_group_empty(p)则 |
539 | __wake_up_parent(p, tracer) |
540 | dead = true |
544 | 如果dead则进程退出时状态等于Used in tsk->exit_state: |
546 | 返回:dead |
名称 | 描述 |
---|---|
ptrace_detach | |
exit_ptrace | Detach all tasks we were using ptrace on. Called with tasklist held* for writing. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |