Function report |
Source Code:security\integrity\ima\ima_appraise.c |
Create Date:2022-07-28 19:59:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:modsig_verify - verify modsig signature* Verify whether the signature matches the file contents.* Return 0 on success, error code otherwise.
Proto:static int modsig_verify(enum ima_hooks func, const struct modsig *modsig, enum integrity_status *status, const char **cause)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
enum ima_hooks | func | |
const struct modsig * | modsig | |
enum integrity_status * | status | |
const char ** | cause |
297 | If rc Then |
298 | cause = "invalid-signature" |
299 | status = INTEGRITY_FAIL |
300 | Else |
301 | status = INTEGRITY_PASS |
304 | Return rc |
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 |