函数逻辑报告 |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-27 21:07:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_scan_exec_realpath - Check "exec.realpath" parameter of "struct tomoyo_condition".*@file: Pointer to "struct file".*@ptr: Pointer to "struct tomoyo_name_union".*@match: True if "exec.realpath=", false if "exec.realpath!=".
函数原型:static bool tomoyo_scan_exec_realpath(struct file *file, const struct tomoyo_name_union *ptr, const bool match)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
const struct tomoyo_name_union * | ptr | |
const bool | match |
241 | 如果非file则返回:false |
243 | name等于tomoyo_realpath_from_path( & f_path) |
244 | 如果非name则返回:false |
246 | tomoyo_fill_path_info( & exe) |
247 | result等于tomoyo_compare_name_union( & exe, ptr) |
248 | 释放内存 |
名称 | 描述 |
---|---|
tomoyo_condition | moyo_condition - Check condition part.*@r: Pointer to "struct tomoyo_request_info".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |