函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_compute_perms

函数原型:void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, struct aa_perms *perms)

返回类型:void

参数:

类型参数名称
struct aa_dfa *dfa
unsigned intstate
struct aa_perms *perms
328  * perms = (struct aa_perms){allow = map old dfa inline permissions to new format(dfa, state), set only when allow is set = dfa_user_audit(dfa, state), set only when ~allow | deny = dfa_user_quiet(dfa, state), }
337  allow或等于map_other(dfa_other_allow(dfa, state))
338  set only when allow is set 或等于map_other(dfa_other_audit(dfa, state))
339  set only when ~allow | deny 或等于map_other(dfa_other_quiet(dfa, state))
调用者
名称描述
label_compound_matchlabel_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:
label_components_matchlabel_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_af_permGeneric af perm