函数逻辑报告 |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-27 20:37:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_make_perm_files
函数原型:static int sel_make_perm_files(char *objclass, int classvalue, struct dentry *dir)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | objclass | |
| int | classvalue | |
| struct dentry * | dir |
| 1734 | dentry等于d_alloc_name(dir, perms[i]) |
| 1739 | inode等于sel_make_inode( The root of the dentry tree , S_IFREG | S_IRUGO) |
| 1740 | 如果非inode则 |
| 1748 | 添加目录项到哈希队列 |
| 1750 | rc等于0 |
| 1751 | out : |
| 1754 | 释放内存 |
| 1755 | 返回:rc |
| 名称 | 描述 |
|---|---|
| sel_make_class_dir_entries |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |