函数逻辑报告 |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-27 21:37:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:apparmor_sb_mount
函数原型:static int apparmor_sb_mount(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | dev_name | |
| const struct path * | path | |
| const char * | type | |
| unsigned long | flags | |
| void * | data |
| 533 | error等于0 |
| 536 | 如果flags按位与MS_MGC_MSK的值恒等于Old magic mount flag and mask则flags与等于MS_MGC_MSK的反 |
| 539 | flags与等于AA_MS_IGNORE_MASK的反 |
| 542 | 如果非unconfined(label)则 |
| 543 | 如果flags按位与Alter flags of a mounted FS 则error等于aa_remount(label, path, flags, data) |
| 547 | 否则如果flags按位与change to shared 按位或change to private 按位或change to slave 按位或change to unbindable 的值则error等于aa_mount_change_type(label, path, flags) |
| 558 | 返回:error |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |