audit_pre(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… audit_pre(9) β€” Kernel API Manual, but make it make sense πŸ’…

okay bestie, welcome to the audit_pre(9) page. It’s giving β€œtiny kernel function, very important energy,” and we’re gonna get through it together 🫢


✨ NAME ✨

audit_pre β€” core AppArmor function. That’s the name, that’s the vibe, no notes πŸ’–


🌸 SYNOPSIS 🌸

void audit_pre (struct audit_buffer *ab , void *va );

πŸŽ€ ARGUMENTS πŸŽ€

  • ab β€” the audit buffer to fill, and it is NOT NULL (so do not play with that one, bestie πŸ™ˆ).
  • va β€” the audit structure containing the data to audit, also NOT NULL (non-negotiable ✨).

πŸ¦‹ DESCRIPTION πŸ¦‹

Record common AppArmor audit data from va. That’s the whole assignment, and it ate πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./security/apparmor/audit.c β€” also go peek at aa_audit_msg(9) and aa_audit(9), iykyk πŸ‘‘


source/version vibe: ./security/apparmor, dated October 2026, and yes the page is audit_pre(9) β€” mwah, bye bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from