Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_api.c Create Date:2022-07-28 19:58:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ma_free_template_entry - free an existing template entry

Proto:void ima_free_template_entry(struct ima_template_entry *entry)

Type:void

Parameter:

TypeParameterName
struct ima_template_entry *entry
27  When i < num_fields cycle kfree(data)
30  kfree(entry)
Caller
NameDescribe
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