verify_dfa_accept_index(9)
π verify_dfa_accept_index β the vibe check for accept indexes π
okay so bestie, welcome to the Kernel API Manual β¨ this little function is the bouncer at the club, except the club is a perms table and the guest list is accept indexes. fr fr, that's the whole gig π
π¦ NAME π¦
verify_dfa_accept_index β verify accept indexes are in range of perms table π
like, it literally checks that the accept indexes actually fit inside the perms table. no cap, that's it, and it slays at it π
β¨ SYNOPSIS β¨
bool verify_dfa_accept_index (const struct aa_dfa *dfa , int table_size );
that's the whole signature, bestie β she takes two things and hands you back a bool π«Ά
πΈ ARGUMENTS πΈ
dfaβ the dfa to check accept indexes are in range π¦ this is the icon we're vibe-checking.table_sizeβ the permission table size the indexes should be within π like the ruler you hold up to see if someone's tall enough to ride.
π SEE ALSO π
the Kernel file ./security/apparmor/policy_unpack.c and honestly her whole friend group π go give them a look:
audit_iface(9)aa_unpack_u16_chunk(9)aa_unpack_nameX(9)unpack_dfa(9)unpack_strs_table(9)unpack_profile(9)verify_header(9)verify_profile(9)aa_unpack(9)
okay and that's the page, periodt π
this one came from ./security/apparmor, dated October 2026, and yeah β same title, same manual, we're just doing it with β¨main character energyβ¨ now. bye bestie, go verify some indexes π§ββοΈπ
π¦ 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