Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:PROFILE_MEDIATES_AF

Proto:static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile, u16 AF)

Type:unsigned int

Parameter:

TypeParameterName
struct aa_profile *profile
u16AF
228  state = PROFILE_MEDIATES(profile, AA_CLASS_NET)
229  be_af = cpu_to_be16(AF)
231  If Not state Then Return 0
233  Return aa_dfa_match_len(Generic policy DFA specific rule types will be subsections of it , state, (char * ) & be_af, 2)