函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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:

函数原型: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)

返回类型:int

参数:

类型参数名称
struct aa_profile *profile
struct aa_label *target
boolstack
unsigned intrequest
unsigned intstart
struct aa_perms *perms
291  如果profile_unconfined(profile)则
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  返回:0
298  返回: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:
调用者
名称描述
profile_onexec
change_profile_perms_wrapper