Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:unsigned int aa_dfa_next(struct aa_dfa *dfa, unsigned int state, const char c)

Type:unsigned int

Parameter:

TypeParameterName
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  If tables[YYTD_ID_EC] Then
490  equiv = EQUIV_TABLE(dfa)
491  match_char(state, def, base, next, check, equiv[(u8)c])
492  Else match_char(state, def, base, next, check, (u8)c)
495  Return state
Caller
NameDescribe
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