函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:29:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_inode_setattr
函数原型:static int selinux_inode_setattr(struct dentry *dentry, struct iattr *iattr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
struct iattr * | iattr |
3092 | 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.() |
3095 | av等于FILE__WRITE |
3098 | 如果ia_valid按位与Not a change, but a change it 则 |
3099 | ia_valid与等于ATTR_KILL_SUID按位或ATTR_KILL_SGID按位或Attribute flags. These should be or-ed together to figure out what* has been changed!按位或Not a change, but a change it 的值的反 |
3101 | 如果非ia_valid则返回:0 |
3109 | 如果selinux_policycap_openperm()且s_magic不等于SOCKFS_MAGIC且ia_valid按位与ATTR_SIZE且非ia_valid按位与ATTR_FILE的值则av或等于FILE__OPEN |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |