函数逻辑报告 |
Source Code:security\apparmor\include\file.h |
Create Date:2022-07-27 21:19:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_map_file_perms - map file flags to AppArmor permissions*@file: open file to map flags to AppArmor permissions* Returns: apparmor permission set for the file
函数原型:static inline unsigned int aa_map_file_to_perms(struct file *file)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file |
219 | perms等于0 |
221 | 如果f_mode按位与le is open for writing 则perms或等于MAY_WRITE |
223 | 如果f_mode按位与le is open for reading 则perms或等于MAY_READ |
231 | 如果flags按位与O_CREAT则perms或等于AA_MAY_CREATE |
234 | 返回:perms |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |