函数逻辑报告 |
Source Code:kernel\ptrace.c |
Create Date:2022-07-27 10:13:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Ensure that nothing can wake it up, even SIGKILL
函数原型:static bool ptrace_freeze_traced(struct task_struct *task)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
175 | bool ret = false |
178 | 如果 JOBCTL_*, siglock protected: 按位与JOBCTL_LISTENING则返回:ret |
181 | spin_lock_irq( & siglock) |
182 | 如果task_is_traced(task)且非__fatal_signal_pending(task)则 |
183 | 任务状态等于__TASK_TRACED |
184 | ret = true |
186 | spin_unlock_irq( & siglock) |
188 | 返回:ret |
名称 | 描述 |
---|---|
ptrace_check_attach | ptrace_check_attach - check whether ptracee is ready for ptrace operation*@child: ptracee to check for*@ignore_state: don't check whether @child is currently %TASK_TRACED* Check whether @child is being ptraced by %current and ready for further |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |