| 函数逻辑报告 | 
| Source Code: security\yama\yama_lsm.c | Create Date:2022-07-27 21:49:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:ptracer_exception_found - tracer registered as exception for this tracee*@tracer: the task_struct of the process attempting ptrace*@tracee: the task_struct of the process to be ptraced* Returns 1 if tracer has a ptracer exception ancestor for tracee.
函数原型:static int ptracer_exception_found(struct task_struct *tracer, struct task_struct *tracee)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | tracer | |
| struct task_struct * | tracee | 
| 308 | rc等于0 | 
| 310 | struct task_struct * parent = NULL | 
| 311 | bool found = false | 
| 320 | 如果parent不等于NULL且same_thread_group(parent, tracer)则 | 
| 329 | 如果invalid则继续下一循环 | 
| 341 | unlock : | 
| 344 | 返回:rc | 
| 名称 | 描述 | 
|---|---|
| yama_ptrace_access_check | yama_ptrace_access_check - validate PTRACE_ATTACH calls*@child: task that current task is attempting to ptrace*@mode: ptrace attach mode* Returns 0 if following the ptrace is allowed, -ve on error. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |