函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static struct aa_perms compute_mnt_perms(struct aa_dfa *dfa, unsigned int state)

返回类型:struct aa_perms

参数:

类型参数名称
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  返回:perms
调用者
名称描述
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