函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smk_preset_netlabel

函数原型:static int __init smk_preset_netlabel(struct smack_known *skp)

返回类型:int

参数:

类型参数名称
struct smack_known *skp
2932  domain等于smk_known
2933  flags等于NETLBL_SECATTR_DOMAIN按位或NETLBL_SECATTR_MLS_LVL
2935  返回:smk_netlbl_mls - convert a catset to netlabel mls categories*@catset: the Smack categories*@sap: where to put the netlabel categories* Allocates and fills attr.mls* Returns 0 on success, error code on failure.
调用者
名称描述
init_smk_fs_smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot