函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:27:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check whether a task can create a file.
函数原型:static int may_create(struct inode *dir, struct dentry *dentry, u16 tclass)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | dir | |
| struct dentry * | dentry | |
| u16 | tclass |
| 1814 | tsec等于selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()) |
| 1822 | sbsec等于s_security |
| 1824 | sid等于 current SID |
| 1826 | type等于LSM_AUDIT_DATA_DENTRY |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |