Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smackfs.c Create Date:2022-07-28 19:27:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Print cipso labels in format:* label level[/cat[,cat]]

Proto:static int cipso2_seq_show(struct seq_file *s, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *s
void *v
953  list = v
954  skp = list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(list, structsmack_known, list)
956  cmp = cat
957  sep = '/'
960  seq_printf(s, "%s %3d", smk_known, lvl)
962  When i >= 0 cycle
964  seq_printf(s, "%c%d", sep, i)
965  sep = ','
968  seq_putc(s, '\n')
970  Return 0