avc_audit_pre_callback(9)
π avc_audit_pre_callback(9) β like, the Kernel API Manual page, bestie π
Okay so real talk: this is a page from the Kernel API Manual for avc_audit_pre_callback β¨ β and yes, the (9) is part of the name, it's giving "section nine, kernel club only" energy π
πΈ NAME πΈ
avc_audit_pre_callback β the SELinux-specific info gets called by the generic audit code π
Periodt. That's the whole vibe β this function is the SELinux bestie that the generic audit machinery rings up when it needs the good stuff π
β¨ SYNOPSIS β¨
void avc_audit_pre_callback (struct audit_buffer *ab , void *a );
Note the spaces before those commas β we're keeping it exactly as written, no cap π«Ά
π¦ ARGUMENTS π¦
abβ the audit buffer π (that's where the audit-y stuff lives)aβaudit_dataπ
That's it, that's the whole cast of characters π two arguments, both iconic in their own way π
π₯ SEE ALSO π₯
Kernel file ./security/selinux/avc.c β like, the main character source file, go read it iykyk π
And the whole friend group, all in (9):
avc_init(9)avc_lookup(9)avc_insert(9)avc_audit_post_callback(9)avc_add_callback(9)avc_update_node(9)avc_flush(9)avc_ss_reset(9)avc_compute_av(9)avc_perm_nonode(9)avc_has_perm_noaudit(9)avc_has_perm(9)
π friendly reminder:avc_audit_pre_callback(9)andavc_audit_post_callback(9)are two different girlies. Pre comes before, post comes after. Don't mix them up bestie π
π§ Sign-off π§
So this page lives under ./security/selinux πΈ and it's dated October 2026 β β and obviously the manual name is still avc_audit_pre_callback(9) because we never forget the header π
Slay, go audit something responsibly π₯ππ
π¦ 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