函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Validating the appended signature included in the measurement list requires* the file hash calculated without the appended signature (i.e., the 'd-modsig'* field). Therefore, notify the user if they have the 'modsig' field but not

函数原型:static void check_template_modsig(const struct ima_template_desc *template)

返回类型:void

参数:

类型参数名称
const struct ima_template_desc *template
874  如果checked则返回
877  has_modsig = has_dmodsig = false
878 i小于num_fields循环
879  如果非字符串比较has_modsig = true
881  否则如果非字符串比较has_dmodsig = true
885  如果has_modsig且非has_dmodsig打印注释信息(Validating the appended signature included in the measurement list requires* the file hash calculated without the appended signature (i.e., the 'd-modsig'* field). Therefore, notify the user if they have the 'modsig' field but not)
888  checked = true
调用者
名称描述
ima_parse_rule