函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:verify_xindex

函数原型:static bool verify_xindex(int xindex, int table_size)

返回类型:bool

参数:

类型参数名称
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  如果xtype恒等于use a specified name ->n# index大于等于table_size则返回:0
994  返回:1
调用者
名称描述
verify_dfa_xindexverify dfa xindexes are in range of transition tables