Lines Matching refs:avc_audit_buf
58 static char *avc_audit_buf = NULL; variable
199 avc_audit_buf = (char *)avc_malloc(AVC_AUDIT_BUFSIZE); in avc_init()
200 if (!avc_audit_buf) { in avc_init()
260 sidtab_sid_stats(&avc_sidtab, avc_audit_buf, AVC_AUDIT_BUFSIZE); in avc_sid_stats()
262 avc_log(SELINUX_INFO, "%s", avc_audit_buf); in avc_sid_stats()
581 avc_free(avc_audit_buf); in hidden_def()
653 log_append(avc_audit_buf, " null"); in avc_dump_av()
657 log_append(avc_audit_buf, " {"); in avc_dump_av()
664 log_append(avc_audit_buf, " %s", permstr); in avc_dump_av()
671 log_append(avc_audit_buf, " 0x%x", av); in avc_dump_av()
672 log_append(avc_audit_buf, " }"); in avc_dump_av()
686 log_append(avc_audit_buf, "scontext=%s tcontext=%s", in avc_dump_query()
690 log_append(avc_audit_buf, " tclass=%s", in avc_dump_query()
715 snprintf(avc_audit_buf, AVC_AUDIT_BUFSIZE, in avc_audit()
718 log_append(avc_audit_buf, " for "); in avc_audit()
721 avc_suppl_audit(a, tclass, avc_audit_buf + strlen(avc_audit_buf), in avc_audit()
722 AVC_AUDIT_BUFSIZE - strlen(avc_audit_buf)); in avc_audit()
724 log_append(avc_audit_buf, " "); in avc_audit()
728 log_append(avc_audit_buf, " permissive=%u", result ? 0 : 1); in avc_audit()
730 log_append(avc_audit_buf, "\n"); in avc_audit()
731 avc_log(SELINUX_AVC, "%s", avc_audit_buf); in avc_audit()