函数逻辑报告 | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-27 20:30:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:selinux_file_permission
函数原型:static int selinux_file_permission(struct file *file, int mask)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | file | |
| int | mask | 
| 3545 | inode等于file_inode(file) | 
| 3546 | fsec等于selinux_file(file) | 
| 3550 | 如果非mask则返回:0 | 
| 3555 | 如果sid恒等于 SID of open file description 且 SID of inode at the time of file open 恒等于 SID of this object 且 Policy seqno at the time of file open 恒等于avc_policy_seqno( & selinux_state)则返回:0 | 
| 3560 | 返回:le security operations | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |