函数逻辑报告 |
Source Code:security\integrity\evm\evm_main.c |
Create Date:2022-07-27 22:08:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:vm_inode_setattr - prevent updating an invalid EVM extended attribute*@dentry: pointer to the affected dentry* Permit update of file attributes when files have a valid EVM signature,* except in the case of them having an immutable portable signature.
函数原型:int evm_inode_setattr(struct dentry *dentry, struct iattr *attr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| struct iattr * | attr |
| 481 | 如果evm_initialized按位与EVM_ALLOW_METADATA_WRITES则返回:0 |
| 484 | 如果非ia_valid按位与Attribute flags. These should be or-ed together to figure out what* has been changed!按位或ATTR_UID按位或ATTR_GID的值的值则返回:0 |
| 487 | 如果evm_status恒等于INTEGRITY_PASS或evm_status恒等于INTEGRITY_NOXATTRS则返回:0 |
| 493 | 返回:负EPERM |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |