aa_dfa_unpack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

aa_dfa_unpack 🧚

okay so bestie, this is aa_dfa_unpack from the Kernel API Manual, and it's literally the moment a serialized dfa gets unpacked. ✨

NAME 🌸

aa_dfa_unpack β€” unpack the binary tables of a serialized dfa

SYNOPSIS πŸŽ€

struct aa_dfa * aa_dfa_unpack (const void *blob , size_t size , int flags );

ARGUMENTS πŸ’…

  • blob β€” aligned serialized stream of data to unpack (NOT NULL). no cap, this one is required.
  • size β€” size of data to unpack.
  • flags β€” flags controlling what type of accept tables are acceptable.

DESCRIPTION πŸ¦‹

Unpack a dfa that has been serialized. For the tea on the dfa format, look in Documentation/admin-guide/LSM/apparmor.rst.

Tiny but important vibe check: it assumes the dfa blob stream has been aligned on a 8 byte boundary.

RETURN πŸ”₯

an unpacked dfa ready for matching or ERR_PTR on failure. That's the whole mood: either you get the matching-ready dfa, or ERR_PTR if it flops.

SEE ALSO πŸ‘‘

Kernel file ./security/apparmor/match.c, plus these iconically linked functions:


πŸ’– that's the page, bestie β€” brought to you from ./security/apparmor, dated October 2026, for the aa_dfa_unpack(9) manual. 🫢

πŸ“¦ where this page comes from