Lines Matching refs:audit_buf
376 struct audit_buffer *audit_buf = NULL; in netlbl_unlhsh_add() local
404 audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_STCADD, in netlbl_unlhsh_add()
412 if (audit_buf != NULL) in netlbl_unlhsh_add()
413 netlbl_af4list_audit_addr(audit_buf, 1, in netlbl_unlhsh_add()
425 if (audit_buf != NULL) in netlbl_unlhsh_add()
426 netlbl_af6list_audit_addr(audit_buf, 1, in netlbl_unlhsh_add()
440 if (audit_buf != NULL) { in netlbl_unlhsh_add()
444 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_add()
447 audit_log_format(audit_buf, " res=%u", ret_val == 0 ? 1 : 0); in netlbl_unlhsh_add()
448 audit_log_end(audit_buf); in netlbl_unlhsh_add()
474 struct audit_buffer *audit_buf; in netlbl_unlhsh_remove_addr4() local
488 audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_STCDEL, in netlbl_unlhsh_remove_addr4()
490 if (audit_buf != NULL) { in netlbl_unlhsh_remove_addr4()
492 netlbl_af4list_audit_addr(audit_buf, 1, in netlbl_unlhsh_remove_addr4()
499 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr4()
502 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr4()
503 audit_log_end(audit_buf); in netlbl_unlhsh_remove_addr4()
535 struct audit_buffer *audit_buf; in netlbl_unlhsh_remove_addr6() local
548 audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_STCDEL, in netlbl_unlhsh_remove_addr6()
550 if (audit_buf != NULL) { in netlbl_unlhsh_remove_addr6()
552 netlbl_af6list_audit_addr(audit_buf, 1, in netlbl_unlhsh_remove_addr6()
559 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr6()
562 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr6()
563 audit_log_end(audit_buf); in netlbl_unlhsh_remove_addr6()
736 struct audit_buffer *audit_buf; in netlbl_unlabel_acceptflg_set() local
741 audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_ALLOW, in netlbl_unlabel_acceptflg_set()
743 if (audit_buf != NULL) { in netlbl_unlabel_acceptflg_set()
744 audit_log_format(audit_buf, in netlbl_unlabel_acceptflg_set()
746 audit_log_end(audit_buf); in netlbl_unlabel_acceptflg_set()