函数逻辑报告 | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-27 20:30:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:selinux_mmap_file
函数原型:static int selinux_mmap_file(struct file *file, unsigned long reqprot, unsigned long prot, unsigned long flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | file | |
| unsigned long | reqprot | |
| unsigned long | prot | |
| unsigned long | flags | 
| 3719 | 如果file则 | 
| 3720 | type等于LSM_AUDIT_DATA_FILE | 
| 3728 | 如果checkreqprot则prot等于reqprot | 
| 3731 | 返回:file_map_prot_check(file, prot, (flags & Mask for type of mapping ) == Share changes ) | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |