函数逻辑报告 |
Source Code:security\apparmor\file.c |
Create Date:2022-07-27 21:41:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:map_old_perms - map old file perms layout to the new layout*@old: permission set in old mapping* Returns: new permission mapping
函数原型:static unsigned int map_old_perms(unsigned int old)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | old |
| 195 | 如果old按位与MAY_READ则new或等于meta read 按位或AA_MAY_OPEN |
| 197 | 如果old按位与MAY_WRITE则new或等于meta write 按位或AA_MAY_CREATE按位或AA_MAY_DELETE按位或pair 按位或pair 按位或AA_MAY_OPEN |
| 205 | 如果old按位与0x20则new或等于LINK_SUBSET overlaid 按位或verlaid |
| 207 | 如果old按位与0x40则new或等于AA_EXEC_MMAP |
| 210 | 返回:new |
| 名称 | 描述 |
|---|---|
| aa_compute_fperms | aa_compute_fperms - convert dfa compressed perms to internal perms*@dfa: dfa to compute perms for (NOT NULL)*@state: state in dfa*@cond: conditions to consider (NOT NULL)* TODO: convert from dfa + state to permission entry, do computation conversion |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |