file_audit_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… file_audit_cb β€” like, the manual page, in the Kernel API Manual btw

okay so bestie, welcome to the Kernel API Manual ✨ and today's main character is file_audit_cb(9). she's a callback. she handles the file-specific audit fields. that's the whole vibe. πŸŽ€


✨ NAME ✨

file_audit_cb β€” the call back for file specific audit fields πŸ¦‹

like fr, that's her job description, no cap.


🌸 SYNOPSIS 🌸

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

look at her. two params. zero drama. she takes them exactly like that, spacing and all, so don't you dare retype it "cleaner" πŸ’€


πŸ”₯ ARGUMENTS πŸ”₯

  • ab β€” an audit_buffer, and it is NOT NULL πŸ™ˆ (capital letters, bestie, they're not playing around)
  • va β€” the audit struct you want the audit values of, also NOT NULL πŸ‘‘ (yep, same energy, no nulls allowed here)
ngl the "NOT NULL" on both is lowkey the whole personality of this function. respect it. 🫢

πŸ’– SEE ALSO πŸ’–

the friend group 🧚 β€” go say hi:

it's giving squad goals, honestly 🌈


and that's the page!! πŸ“ brought to you by the fine folks hanging out in ./security/apparmor, dated October 2026, and yeah β€” file_audit_cb(9), that's her name, don't wear it out βœ¨πŸ’œ periodt.

πŸ“¦ where this page comes from