aa_audit_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

aa_audit_msg(9) πŸ’…

okay so bestie, this is the Kernel API Manual page for aa_audit_msg, and it is literally about logging a message to the audit subsystem. Let’s get into it 🫢✨


🌸 NAME 🌸

aa_audit_msg β€” Log a message to the audit subsystem. That’s the whole vibe, no cap. πŸ’–


✨ SYNOPSIS ✨

void aa_audit_msg (int type , struct apparmor_audit_data *ad , void
       (*cb) (struct audit_buffer *, void *) );

πŸŽ€ ARGUMENTS πŸŽ€

  • type β€” the audit type for the message. It’s giving β€œwhat kind of audit message is this” energy ✨
  • ad β€” the audit event structure, and bestie it is NOT NULL. Do not come in here with a null, fr fr 😭
  • cb β€” optional callback fn for type specific fields, and it is MAYBE NULL. So yes, it can be skipped, okay? πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./security/apparmor/audit.c β€” yes, that exact path, go peek at it πŸ‘€
  • audit_pre(9) β€” another manpage bestie in the lineup πŸŽ€
  • aa_audit(9) β€” and this one too, iykyk πŸ’…

🫢 cute little sign-off: this page comes from ./security/apparmor, and it’s dated October 2026. That’s the source/version and date, bestie β€” periodt. Stay audit-y! πŸ’œπŸŒˆ
πŸ“¦ where this page comes from