Function report |
Source Code:security\integrity\evm\evm_main.c |
Create Date:2022-07-28 19:59:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto: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)
Type:enum integrity_status
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
const char * | xattr_name | |
void * | xattr_value | |
size_t | xattr_value_len | |
struct integrity_iint_cache * | iint |
271 | If Not evm_key_loaded() || Not evm_protected_xattr(xattr_name) Then Return INTEGRITY_UNKNOWN |
274 | If Not iint Then |
276 | If Not iint Then Return INTEGRITY_UNKNOWN |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |