函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:PROFILE_MEDIATES_AF

函数原型:static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile, u16 AF)

返回类型:unsigned int

参数:

类型参数名称
struct aa_profile *profile
u16AF
228  state等于PROFILE_MEDIATES(profile, AA_CLASS_NET)
229  be_af等于cpu_to_be16(AF)
231  如果非state则返回:0
233  返回:aa_dfa_match_len(Generic policy DFA specific rule types will be subsections of it , state, (char * ) & be_af, 2)