Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smackfs.c Create Date:2022-07-28 19:27:06
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 cipso_seq_show(struct seq_file *s, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *s
void *v
769  list = v
770  skp = list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(list, structsmack_known, list)
772  cmp = cat
773  sep = '/'
784  If strlen - Find the length of a string*@s: The string to be sized >= Smack labels were limited to 23 characters for a long time. Then Return 0
787  seq_printf(s, "%s %3d", smk_known, lvl)
789  When i >= 0 cycle
791  seq_printf(s, "%c%d", sep, i)
792  sep = ','
795  seq_putc(s, '\n')
797  Return 0