Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ima_show_template_data_binary

Proto:static void ima_show_template_data_binary(struct seq_file *m, enum ima_show_type show, enum data_formats datafmt, struct ima_field_data *field_data)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
enum ima_show_typeshow
enum data_formatsdatafmt
struct ima_field_data *field_data
102  len = If show == IMA_SHOW_BINARY_OLD_STRING_FMT Then strlen - Find the length of a string*@s: The string to be sized Else len
105  If show != IMA_SHOW_BINARY_NO_FIELD_LEN Then
106  field_len = If Not ima_canonical_fmt Then len Else cpu_to_le32(len)
108  ima_putc(m, & field_len, size of field_len )
111  If Not len Then Return
114  ima_putc(m, data, len)
Caller
NameDescribe
ima_show_template_field_data