Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:int aa_label_match(struct aa_profile *profile, struct aa_label *label, unsigned int state, bool subns, unsigned int request, struct aa_perms *perms)

Type:int

Parameter:

TypeParameterName
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  If Not error Then Return error
1399  perms = allperms
1400  Return 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
Caller
NameDescribe
aa_profile_match_label