函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_dfa_next - step one character to the next state in the dfa*@dfa: the dfa to traverse (NOT NULL)*@state: the state to start in*@c: the input character to transition on* aa_dfa_match will step through the dfa by one input character @c* Returns: state

函数原型:unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, const char c)

返回类型:unsigned int

参数:

类型参数名称
struct aa_dfa *dfa
unsigned intstate
const charc
482  def等于DEFAULT_TABLE(dfa)
483  base等于BASE_TABLE(dfa)
484  next等于NEXT_TABLE(dfa)
485  check等于CHECK_TABLE(dfa)
488  如果tables[YYTD_ID_EC]则
490  equiv等于EQUIV_TABLE(dfa)
491  match_char(state, def, base, next, check, equiv[(u8)c])
492  否则match_char(state, def, base, next, check, (u8)c)
495  返回:state
调用者
名称描述
aa_profile_match_label
unpack_profilepack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure
match_mnt_flagsmatch_mnt_flags - Do an ordered match on mount flags*@dfa: dfa to match against*@state: state to start in*@flags: mount flags to match against* Mount flags are encoded as an ordered match