void avc_audit (u32 ssid, u32 tsid, u16 tclass, u32 requested, struct av_decision * avd, int result, struct avc_audit_data * a);
Audit the granting or denial of permissions in accordance with the policy. This function is typically called by avc_has_perm after a permission check, but can also be called directly by callers who use avc_has_perm_noaudit in order to separate the permission check from the auditing. For example, this separation is useful when the permission check must be performed under a lock, to allow the lock to be released before calling the auditing code.