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_perms_accum - accumulate perms, masking off overlapping perms*@accum - perms struct to accumulate into*@addend - perms struct to add to @accum

Proto:void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend)

Type:void

Parameter:

TypeParameterName
struct aa_perms *accum
struct aa_perms *addend
369  explicit deny, or conflict if allow also set |= explicit deny, or conflict if allow also set
370  allow &= allow & ~ explicit deny, or conflict if allow also set
371  set only when allow is set |= set only when allow is set & allow
372  set only when ~allow | deny &= set only when ~allow | deny & ~allow
373  set only when ~allow | deny |= set only when ~allow | deny & ~allow
374  set only when ~allow | deny |= set only when ~allow | deny & ~allow
375  accumulates only used when ~allow & ~deny |= accumulates only used when ~allow & ~deny & ~allow & ~ explicit deny, or conflict if allow also set
376  set only when ~allow and ~deny |= set only when ~allow and ~deny & ~allow & ~ explicit deny, or conflict if allow also set
377  set only when ~allow | deny &= set only when ~allow | deny & ~allow
378  accumulates only used when ~allow & ~deny |= accumulates only used when ~allow & ~deny & ~allow & ~ explicit deny, or conflict if allow also set
Caller
NameDescribe
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*@stack: whether this is a stacking request*@start: state to start match in*@subns: whether to do
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