函数逻辑报告 |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-27 20:38:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:declaration for sel_make_class_dirs
函数原型:static struct dentry *sel_make_dir(struct dentry *dir, const char *name, unsigned long *ino)
返回类型:struct dentry
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dir | |
| const char * | name | |
| unsigned long * | ino |
| 1865 | dentry等于d_alloc_name(dir, name) |
| 1871 | inode等于sel_make_inode( The root of the dentry tree , S_IFDIR | S_IRUGO | S_IXUGO) |
| 1872 | 如果非inode则 |
| 1879 | Stat data, not accessed from path walking 等于ino先自加 |
| 1882 | 添加目录项到哈希队列 |
| 1884 | inc_nlink(获得目录项的索引节点) |
| 1886 | 返回:dentry |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |