函数逻辑报告 | 
Source Code:security\integrity\ima\ima_queue.c | 
Create Date:2022-07-27 21:58:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Return the amount of memory required for serializing the* entire binary_runtime_measurement list, including the ima_kexec_hdr* structure.
函数原型:static int ima_pcr_extend(const u8 *hash, int pcr)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const u8 * | hash | |
| int | pcr | 
| 141 | result等于0 | 
| 144 | 如果非ima_tpm_chip则返回:result | 
| 150 | result等于tpm_pcr_extend(ima_tpm_chip, pcr, pre-allocated array of tpm_digest structures to extend a PCR ) | 
| 153 | 返回:result | 
| 名称 | 描述 | 
|---|---|
| ima_add_template_entry | Add template entry to the measurement list and hash table, and* extend the pcr.* On systems which support carrying the IMA measurement list across* kexec, maintain the total memory size required for serializing the* binary_runtime_measurements. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |