Lines Matching refs:avc_audit_buf
57 static char *avc_audit_buf = NULL; variable
152 avc_audit_buf = (char *)avc_malloc(AVC_AUDIT_BUFSIZE); in avc_init()
153 if (!avc_audit_buf) { in avc_init()
211 sidtab_sid_stats(&avc_sidtab, avc_audit_buf, AVC_AUDIT_BUFSIZE); in avc_sid_stats()
213 avc_log(SELINUX_INFO, "%s", avc_audit_buf); in avc_sid_stats()
530 avc_free(avc_audit_buf); in hidden_def()
602 log_append(avc_audit_buf, " null"); in avc_dump_av()
606 log_append(avc_audit_buf, " {"); in avc_dump_av()
613 log_append(avc_audit_buf, " %s", permstr); in avc_dump_av()
620 log_append(avc_audit_buf, " 0x%x", av); in avc_dump_av()
621 log_append(avc_audit_buf, " }"); in avc_dump_av()
635 log_append(avc_audit_buf, "scontext=%s tcontext=%s", in avc_dump_query()
639 log_append(avc_audit_buf, " tclass=%s", in avc_dump_query()
664 snprintf(avc_audit_buf, AVC_AUDIT_BUFSIZE, in avc_audit()
667 log_append(avc_audit_buf, " for "); in avc_audit()
670 avc_suppl_audit(a, tclass, avc_audit_buf + strlen(avc_audit_buf), in avc_audit()
671 AVC_AUDIT_BUFSIZE - strlen(avc_audit_buf)); in avc_audit()
673 log_append(avc_audit_buf, " "); in avc_audit()
675 log_append(avc_audit_buf, "\n"); in avc_audit()
676 avc_log(SELINUX_AVC, "%s", avc_audit_buf); in avc_audit()