avc_audit_pre_callback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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):

πŸ’€ friendly reminder: avc_audit_pre_callback(9) and avc_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