函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_api.c Create Date:2022-07-27 22:01:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ma_free_template_entry - free an existing template entry

函数原型:void ima_free_template_entry(struct ima_template_entry *entry)

返回类型:void

参数:

类型参数名称
struct ima_template_entry *entry
27 i小于num_fields循环释放内存
30  释放内存
调用者
名称描述
process_buffer_measurementprocess_buffer_measurement - Measure the buffer to ima log
ima_alloc_init_templatema_alloc_init_template - create and initialize a new template entry
ima_add_violationma_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_measurementma_store_measurement - store file measurement* Create an "ima" template and then store the template by calling* ima_store_template
ima_restore_template_data