Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:verify dfa xindexes are in range of transition tables

Proto:static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size)

Type:bool

Parameter:

TypeParameterName
struct aa_dfa *dfa
inttable_size
1001  When i < td_lolen cycle
1002  If Not verify_xindex(dfa_user_xindex(dfa, i), table_size) Then Return 0
1004  If Not verify_xindex(dfa_other_xindex(dfa, i), table_size) Then Return 0
1007  Return 1
Caller
NameDescribe
verify_profileverify_profile - Do post unpack analysis to verify profile consistency*@profile: profile to verify (NOT NULL)* Returns: 0 if passes verification else error