函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Print cipso labels in format:* label level[/cat[,cat]]

函数原型:static int cipso_seq_show(struct seq_file *s, void *v)

返回类型:int

参数:

类型参数名称
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  如果strlen - Find the length of a string*@s: The string to be sized大于等于Smack labels were limited to 23 characters for a long time.则返回:0
787  seq_printf(s, "%s %3d", smk_known, lvl)
789 i大于等于0循环
791  seq_printf(s, "%c%d", sep, i)
792  sep等于','
795  seq_putc(s, '\n')
797  返回:0