Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:match_opt_prefix

Proto:static int match_opt_prefix(char *s, int l, char **arg)

Type:int

Parameter:

TypeParameterName
char *s
intl
char **arg
76  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(smk_mount_opts) cycle
77  len = len
78  If len > l || memcmp(s, name, len) Then Continue
80  If len == l || s[len] != '=' Then Continue
82  arg = s + len + 1
83  Return opt
85  Return Opt_error
Caller
NameDescribe
smack_sb_eat_lsm_opts