函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smk_rule_show

函数原型:static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max)

返回类型:void

参数:

类型参数名称
struct seq_file *s
struct smack_rule *srp
intmax
572  如果strlen - Find the length of a string*@s: The string to be sized大于等于maxstrlen - Find the length of a string*@s: The string to be sized大于等于max则返回
576  如果smk_access恒等于0则返回
579  seq_printf(s, "%s %s", smk_known, smk_known)
583  seq_putc(s, ' ')
585  如果smk_access按位与MAY_READseq_putc(s, 'r')
587  如果smk_access按位与MAY_WRITEseq_putc(s, 'w')
589  如果smk_access按位与MAY_EXECseq_putc(s, 'x')
591  如果smk_access按位与MAY_APPENDseq_putc(s, 'a')
593  如果smk_access按位与Controls directory labeling seq_putc(s, 't')
595  如果smk_access按位与Locks should be writes, but ... seq_putc(s, 'l')
597  如果smk_access按位与Report use of this rule seq_putc(s, 'b')
600  seq_putc(s, '\n')
调用者
名称描述
load_seq_show
load_self_seq_show
load2_seq_showSeq_file read operations for /smack/load2
load_self2_seq_show