Function report |
Source Code:security\integrity\ima\ima_appraise.c |
Create Date:2022-07-28 19:59:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ima_set_cache_status
Proto:static void ima_set_cache_status(struct integrity_iint_cache *iint, enum ima_hooks func, enum integrity_status status)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct integrity_iint_cache * | iint | |
enum ima_hooks | func | |
enum integrity_status | status |
107 | Case func == MMAP_CHECK |
108 | ima_mmap_status = status |
109 | Break |
110 | Case func == BPRM_CHECK |
111 | ima_bprm_status = status |
112 | Break |
113 | Case func == CREDS_CHECK |
114 | ima_creds_status = status |
115 | Break |
116 | Case func == FILE_CHECK |
117 | Case func == POST_SETATTR |
118 | ima_file_status = status |
119 | Break |
120 | Case func == MODULE_CHECK...MAX_CHECK - 1 |
121 | Default |
122 | ima_read_status = status |
123 | Break |
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 |