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_xindex

Proto:static bool verify_xindex(int xindex, int table_size)

Type:bool

Parameter:

TypeParameterName
intxindex
inttable_size
990  xtype = xindex & AA_X_TYPE_MASK
991  index = xindex & The xindex is broken into 3 parts* - index - an index into either the exec name table or the variable table* - exec type - which determines how the executable name and index are used* - flags - which modify how the destination name is applied
992  If xtype == use a specified name ->n# && index >= table_size Then Return 0
994  Return 1
Caller
NameDescribe
verify_dfa_xindexverify dfa xindexes are in range of transition tables