Function report |
Source Code:security\integrity\ima\ima_queue.c |
Create Date:2022-07-28 19:57:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return the amount of memory required for serializing the* entire binary_runtime_measurement list, including the ima_kexec_hdr* structure.
Proto:static int ima_pcr_extend(const u8 *hash, int pcr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const u8 * | hash | |
int | pcr |
141 | result = 0 |
144 | If Not ima_tpm_chip Then Return result |
147 | When i < nr_allocated_banks cycle memcpy(digest, hash, Max TPM v1.2 PCR size ) |
150 | result = tpm_pcr_extend(ima_tpm_chip, pcr, pre-allocated array of tpm_digest structures to extend a PCR ) |
153 | Return result |
Name | Describe |
---|---|
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. |
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 |