函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:25:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_mk_null_file
函数原型:static int aa_mk_null_file(struct dentry *parent)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | parent |
| 2531 | count等于0 |
| 2532 | error等于simple_pin_fs(s_type, & mount, & count) |
| 2537 | inode_lock(获得目录项的索引节点) |
| 2538 | dentry等于lookup_one_len(NULL_FILE_NAME, parent, strlen - Find the length of a string*@s: The string to be sized) |
| 2539 | 如果是错误则 |
| 2544 | 如果非inode则 |
| 2551 | i_atime等于i_mtime等于i_ctime等于current_time(inode) |
| 2554 | 为目录项建立索引 |
| 2558 | error等于0 |
| 2560 | out1 : |
| 2562 | out : |
| 2563 | inode_unlock(获得目录项的索引节点) |
| 2564 | simple_release_fs( & mount, & count) |
| 2565 | 返回:error |
| 名称 | 描述 |
|---|---|
| aa_create_aafs | aa_create_aafs - create the apparmor security filesystem* dentries created here are released by aa_destroy_aafs* Returns: error on failure |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |