Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hange_profile_perms - find permissions for change_profile*@profile: the current profile (NOT NULL)*@target: label to transition to (NOT NULL)*@stack: whether this is a stacking request*@request: requested perms*@start: state to start matching in* Returns:

Proto:static int change_profile_perms(struct aa_profile *profile, struct aa_label *target, bool stack, unsigned int request, unsigned int start, struct aa_perms *perms)

Type:int

Parameter:

TypeParameterName
struct aa_profile *profile
struct aa_label *target
boolstack
unsigned intrequest
unsigned intstart
struct aa_perms *perms
291  If profile_unconfined(profile) Then
292  allow = AA_MAY_CHANGE_PROFILE | her stack or change_profile
293  set only when allow is set = set only when ~allow | deny = set only when ~allow | deny = 0
294  Return 0
298  Return label_match - do a multi-component label match*@profile: profile to match against (NOT NULL)*@label: label to match (NOT NULL)*@stack: whether this is a stacking request*@state: state to start in*@subns: whether to match subns components*@request:
Caller
NameDescribe
profile_onexec
change_profile_perms_wrapper