函数逻辑报告 |
Source Code:security\integrity\ima\ima_api.c |
Create Date:2022-07-27 22:01:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_alloc_init_template - create and initialize a new template entry
函数原型:int ima_alloc_init_template(struct ima_event_data *event_data, struct ima_template_entry **entry, struct ima_template_desc *desc)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ima_event_data * | event_data | |
| struct ima_template_entry ** | entry | |
| struct ima_template_desc * | desc |
| 41 | result等于0 |
| 43 | 如果desc则template_desc等于desc |
| 54 | 以i小于num_fields循环 |
| 59 | result等于field_init(event_data, & ( template related data [i])) |
| 65 | template_data_len加等于len的长度 |
| 66 | template_data_len加等于len |
| 68 | 返回:0 |
| 69 | out : |
| 71 | * entry = NULL |
| 72 | 返回:result |
| 名称 | 描述 |
|---|---|
| process_buffer_measurement | process_buffer_measurement - Measure the buffer to ima log |
| ima_add_violation | ma_add_violation - add violation to measurement list.* Violations are flagged in the measurement list with zero hash values.* By extending the PCR with 0xFF's instead of with zeroes, the PCR* value is invalidated. |
| ima_store_measurement | ma_store_measurement - store file measurement* Create an "ima" template and then store the template by calling* ima_store_template |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |