Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mpute_mnt_perms - compute mount permission associated with @state*@dfa: dfa to match against (NOT NULL)*@state: state match finished in* Returns: mount permissions

Proto:static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, unsigned int state)

Type:struct aa_perms

Parameter:

TypeParameterName
struct aa_dfa *dfa
unsigned intstate
216  struct aa_perms 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), Reserved: * u32 subtree; / * set only when allow is set * / = dfa_user_xindex(dfa, state), }
223  Return perms
Caller
NameDescribe
do_match_mntReturns 0 on success else element that match failed in, this is the* index into the mnt_info_table above
profile_umount
build_pivotroothelper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL