selinux_aud...avc_callback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… selinux_audit_rule_avc_callback πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes this is the selinux_aud...avc_callback(9) page, the title got cutely truncated by the terminal, don't worry about it πŸŽ€


🌸 NAME 🌸

selinux_audit_rule_avc_callback β€” the little function that keeps your audit LSM rules updated whenever AVC events happen πŸ”₯


✨ SYNOPSIS ✨

int selinux_audit_rule_avc_callback (u32 event );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • event β€” the AVC event, like, the whole reason we're here πŸ’«

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the vibe: you call this and it updates any audit LSM rules based on the AVC event you passed in as event. That's it, that's the job 🫢

Returns 0 on success β€” slay β€” and negative values otherwise 😭 (yes, plural, it's giving "anything could go wrong and we're not telling you which," no cap).


🌈 SEE ALSO 🌈

like, go read the rest of the squad, iykyk πŸ’œ


and that's the whole page bestie πŸ’– this one lives in ./security/selinux/include and it's dated October 2026 β€” not me being a selinux_aud...avc_callback(9) girlie in the Kernel API Manual, we ate, periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from