函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_match - do a multi-component label match*@profile: profile to match against (NOT NULL)*@label: label to match (NOT NULL)*@state: state to start in*@subns: whether to match subns components*@request: permission request*@perms: Returns computed

函数原型:int aa_label_match(struct aa_profile *profile, struct aa_label *label, unsigned int state, bool subns, unsigned int request, struct aa_perms *perms)

返回类型:int

参数:

类型参数名称
struct aa_profile *profile
struct aa_label *label
unsigned intstate
boolsubns
unsigned intrequest
struct aa_perms *perms
1394  error等于label_compound_match - find perms for full compound label*@profile: profile to find perms for*@label: label to check access permissions for*@start: state to start match in*@subns: whether to do permission checks on components in a subns*@request:
1396  如果非error则返回:error
1399  perms等于allperms
1400  返回:label_components_match - find perms for all subcomponents of a label*@profile: profile to find perms for*@label: label to check access permissions for*@start: state to start match in*@subns: whether to do permission checks on components in a
调用者
名称描述
aa_profile_match_label