函数逻辑报告 |
Source Code:security\apparmor\mount.c |
Create Date:2022-07-27 21:47:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_new_mount
函数原型:int aa_new_mount(struct aa_label *label, const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label | |
const char * | dev_name | |
const struct path * | path | |
const char * | type | |
unsigned long | flags | |
void * | data |
523 | char * buffer = NULL, * dev_buffer = NULL |
524 | bool binary = true |
526 | requires_dev等于0 |
532 | 如果type则 |
535 | fstype等于get_fs_type(type) |
538 | binary等于fs_flags按位与FS_BINARY_MOUNTDATA |
539 | requires_dev等于fs_flags按位与FS_REQUIRES_DEV |
540 | put_filesystem(fstype) |
542 | 如果requires_dev则 |
553 | buffer等于aa_get_buffer(false) |
554 | 如果非buffer则 |
558 | 如果dev_path则 |
559 | dev_buffer等于aa_get_buffer(false) |
560 | 如果非dev_buffer则 |
567 | 否则 |
573 | out : |
574 | aa_put_buffer(buffer) |
575 | aa_put_buffer(dev_buffer) |
579 | 返回:error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |