函数逻辑报告 |
Source Code:security\integrity\ima\ima_appraise.c |
Create Date:2022-07-27 22:06:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ima_set_cache_status
函数原型:static void ima_set_cache_status(struct integrity_iint_cache *iint, enum ima_hooks func, enum integrity_status status)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct integrity_iint_cache * | iint | |
enum ima_hooks | func | |
enum integrity_status | status |
107 | 当:func恒等于MMAP_CHECK |
108 | ima_mmap_status等于status |
109 | 退出 |
110 | 当:func恒等于BPRM_CHECK |
111 | ima_bprm_status等于status |
112 | 退出 |
113 | 当:func恒等于CREDS_CHECK |
114 | ima_creds_status等于status |
115 | 退出 |
116 | 当:func恒等于FILE_CHECK |
117 | 当:func恒等于POST_SETATTR |
118 | ima_file_status等于status |
119 | 退出 |
120 | 当:func == MODULE_CHECK...MAX_CHECK - 1 |
121 | 默认 |
122 | ima_read_status等于status |
123 | 退出 |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |