verify_dfa_accept_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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