Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_compute_perms

Proto:void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, struct aa_perms *perms)

Type:void

Parameter:

TypeParameterName
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))
Caller
NameDescribe
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