函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print in ascii

函数原型:static int ima_ascii_measurements_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
221  qe等于v
227  e等于entry
228  如果(e == NULL)则返回:负1
231  template_name等于如果name[0]不等于'\0'则name否则fmt
235  seq_printf(m, "%2d ", pcr)
238  ima_print_digest(m, sha1 or md5 measurement hash , Max TPM v1.2 PCR size )
241  seq_printf(m, " %s", template_name)
244 i小于num_fields循环
245  seq_puts(m, " ")
246  如果len恒等于0则继续下一循环
249  field_show(m, IMA_SHOW_ASCII, & template related data [i])
252  seq_puts(m, "\n")
253  返回:0