Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:53:09
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
442  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(tokens) cycle
443  len = len
444  If len > l || memcmp(s, name, len) Then Continue
446  If has_arg Then
447  If len == l || s[len] != '=' Then Continue
449  arg = s + len + 1
450  Else if len != l Then Continue
452  Return opt
454  Return Opt_error
Caller
NameDescribe
selinux_sb_eat_lsm_opts