selinux_aud...avc_callback(9)
π 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 π
- Kernel file
./security/selinux/include/audit.h selinux_audit_rule_init(9)selinux_audit_rule_free(9)selinux_audit_rule_match(9)selinux_audit_rule_known(9)
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
- 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