Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_fs_context_parse_param - Parse a single mount parameter*@fc: The new filesystem context being constructed.*@param: The parameter.* Returns 0 on success, -ENOPARAM to pass the parameter on or anything else on* error.

Proto:static int smack_fs_context_parse_param(struct fs_context *fc, struct fs_parameter *param)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
struct fs_parameter *param
710  opt = fs_parse(fc, & smack_fs_parameters, param, & result)
711  If opt < 0 Then Return opt
714  rc = smack_add_opt(opt, string, & Linux S&M options )
715  If Not rc Then string = NULL
717  Return rc