file_audit_cb(9)
π 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β anaudit_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:
- Kernel file
./security/apparmor/file.caa_audit_file(9) aa_lookup_condperms(9)aa_str_perms(9)aa_path_perm(9)xindex_is_subset(9)aa_path_link(9)aa_file_perm(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms