函数逻辑报告 |
Source Code:security\integrity\ima\ima_main.c |
Create Date:2022-07-27 21:59:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Prevent mmap'ing a file execute that is already mmap'ed write
函数原型:static int mmap_violation_check(enum ima_hooks func, struct file *file, char **pathbuf, const char **pathname, char *filename)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| enum ima_hooks | func | |
| struct file * | file | |
| char ** | pathbuf | |
| const char ** | pathname | |
| char * | filename |
| 81 | rc等于0 |
| 85 | inode等于file_inode(file) |
| 90 | integrity_audit_msg(Data integrity verification , inode, * pathname, "mmap_file", "mmapped_writers", rc, 0) |
| 93 | 返回:rc |
| 名称 | 描述 |
|---|---|
| process_measurement |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |