Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Seq_file read operations for /smack/load2

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

Type:int

Parameter:

TypeParameterName
struct seq_file *s
void *v
2326  list = v
2328  skp = list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(list, structsmack_known, list)
2331  list_for_each_entry_rcu - iterate over rcu list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(srp, & access rules , list)
2332  smk_rule_show(s, srp, SMK_LONGLABEL)
2334  Return 0