| Function report | 
| Source Code: security\integrity\ima\ima_queue.c | Create Date:2022-07-28 19:57:52 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Calculate the memory required for serializing a single* binary_runtime_measurement list entry, which contains a* couple of variable length fields (e.g template name and data).
Proto:static int get_binary_runtime_size(struct ima_template_entry *entry)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ima_template_entry * | entry | 
| 77 | size = 0 | 
| 80 | size += size of sha1 or md5 measurement hash | 
| 83 | size += size of template_data_len | 
| 84 | size += template_data_len | 
| 85 | Return size | 
| Name | Describe | 
|---|---|
| ima_add_digest_entry | ma_add_template_entry helper function:* - Add template entry to the measurement list and hash table, for* all entries except those carried across kexec.* (Called with ima_extend_list_mutex held.) | 
| 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 |