| 函数逻辑报告 | 
| Source Code: security\yama\yama_lsm.c | Create Date:2022-07-27 21:49:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:yama_ptracer_add - add/replace an exception for this tracer/tracee pair*@tracer: the task_struct of the process doing the ptrace*@tracee: the task_struct of the process to be ptraced* Each tracee can have, at most, one tracer registered. Each time this
函数原型:static int yama_ptracer_add(struct task_struct *tracer, struct task_struct *tracee)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | tracer | |
| struct task_struct * | tracee | 
| 152 | invalid = false | 
| 154 | 加自旋锁 | 
| 157 | 如果invalid则继续下一循环 | 
| 166 | 添加RCU保护项 | 
| 168 | out : | 
| 170 | 自旋锁解锁 | 
| 171 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| yama_task_prctl | yama_task_prctl - check for Yama-specific prctl operations*@option: operation*@arg2: argument*@arg3: argument*@arg4: argument*@arg5: argument* Return 0 on success, -ve on error. -ENOSYS is returned when Yama* does not handle the given option. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |