Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ma_template_has_modsig - Check whether template has modsig-related fields.*@ima_template: IMA template to check.* Tells whether the given template has fields referencing a file's appended* signature.

Proto:bool ima_template_has_modsig(const struct ima_template_desc *ima_template)

Type:bool

Parameter:

TypeParameterName
const struct ima_template_desc *ima_template
72  When i < num_fields cycle If Not strcmp(field_id, "modsig") || Not strcmp(field_id, "d-modsig") Then
75  Return true
77  Return false