函数逻辑报告 | 
Source Code:security\integrity\evm\evm_main.c | 
Create Date:2022-07-27 22:08:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:vm_verifyxattr - verify the integrity of the requested xattr*@dentry: object of the verify xattr*@xattr_name: requested xattr*@xattr_value: requested xattr value*@xattr_value_len: requested xattr value length* Calculate the HMAC for the given dentry and
函数原型:enum integrity_status evm_verifyxattr(struct dentry *dentry, const char *xattr_name, void *xattr_value, size_t xattr_value_len, struct integrity_iint_cache *iint)
返回类型:enum integrity_status
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dentry * | dentry | |
| const char * | xattr_name | |
| void * | xattr_value | |
| size_t | xattr_value_len | |
| struct integrity_iint_cache * | iint | 
| 271 | 如果非evm_key_loaded()或非evm_protected_xattr(xattr_name)则返回:INTEGRITY_UNKNOWN | 
| 274 | 如果非iint则 | 
| 276 | 如果非iint则返回:INTEGRITY_UNKNOWN | 
| 名称 | 描述 | 
|---|---|
| ima_appraise_measurement | ma_appraise_measurement - appraise file measurement* Call evm_verifyxattr() to verify the integrity of 'security.ima'.* Assuming success, compare the xattr hash with the collected measurement.* Return 0 on success, error code otherwise | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |