函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:PROFILE_MEDIATES

函数原型:static inline unsigned int PROFILE_MEDIATES(struct aa_profile *profile, unsigned char class)

返回类型:unsigned int

参数:

类型参数名称
struct aa_profile *profile
unsigned charclass
219  如果class小于等于AA_CLASS_LAST则返回: set of start states for the different classes of data[class]
221  否则返回:aa_dfa_match_len(Generic policy DFA specific rule types will be subsections of it , set of start states for the different classes of data[0], & class, 1)
调用者
名称描述
profile_query_cb
profile_tracee_perm
profile_tracer_perm
profile_signal_perm
match_mnt_path_strmatch_mnt_path_str - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devnme: string for the devname/src_name (MAY BE NULL OR ERRPTR)*@type: string for the dev
match_mntmatch_mnt - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devpath: path devname/src_name (MAYBE NULL)*@devbuffer: buffer to be used to lookup
profile_umount
build_pivotroothelper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL
aa_profile_af_permGeneric af perm
PROFILE_MEDIATES_AF