selinux_audit_rule_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… selinux_audit_rule_free(9) β€” free an selinux audit rule structure πŸ’…

✨ NAME ✨

selinux_audit_rule_free β€” free an selinux audit rule structure. No cap, that's the whole job πŸŽ€


🌸 SYNOPSIS 🌸

void selinux_audit_rule_free (void *rule );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rule β€” pointer to the audit rule to be freed

πŸ’– DESCRIPTION πŸ’–

Okay so this one is lowkey simple, bestie: it frees all memory associated with the given rule. That's it. That's the vibe ✨

And if rule is NULL, no operation is performed. Literally nothing happens. No drama, no crash, just peaceful main-character silence 🫢

If you're holding a NULL pointer, you're safe here. The function just minds its own business πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


Sign-off time, bestie: this iconic little page comes from the Kernel API Manual, source/version ./security/selinux/include, dated October 2026. Go forth and free those rules responsibly πŸ’–πŸ”₯πŸ’…

πŸ“¦ where this page comes from