Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smk_preset_netlabel

Proto:static int __init smk_preset_netlabel(struct smack_known *skp)

Type:int

Parameter:

TypeParameterName
struct smack_known *skp
2932  domain = smk_known
2933  flags = NETLBL_SECATTR_DOMAIN | NETLBL_SECATTR_MLS_LVL
2935  Return 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.
Caller
NameDescribe
init_smk_fs_smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot