aa_dfa_next(9)
β¨ NAME β¨
aa_dfa_next β step one character to the next state in the dfa
okay so this little cutie is from the Kernel API Manual, and the whole vibe is: take a dfa, take a state, take one input character, and step to the next state. Bestie, itβs giving βone tiny step in the dfa journey,β slay. π β¨
π SYNOPSIS π
aa_state_t aa_dfa_next (const struct aa_dfa *dfa , aa_state_t state ,
const char c );
β¨ ARGUMENTS β¨
dfaβ the dfa to traverse (NOT NULL, so do not come in here with a null, bestie π ββοΈ).stateβ the state to start in.cβ the input character to transition on.
π¦ DESCRIPTION π¦
The DESCRIPTION text literally says: aa_dfa_match will step through the dfa by one input character c.
Yes, it says aa_dfa_match even though the page is aa_dfa_next β Iβm just relaying the lore, not editing it. No cap. πβ¨
π RETURN π
What comes back is: state reach after input c. Thatβs exactly the phrase on the page, bestie β state reach after input c. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./security/apparmor/match.c unpack_table(9)verify_table_headers(9)verify_dfa(9)dfa_free(9)aa_dfa_free_kref(9)remap_data16_to_data32(9)aa_dfa_unpack(9)aa_dfa_match_len(9)aa_dfa_match(9)aa_dfa_match_until(9)aa_dfa_matchn_until(9)aa_dfa_leftmatch(9)
big sparkly sign-off: source/version energy is ./security/apparmor, the date is October 2026, and the page is aa_dfa_next(9). πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms