/* Description: Set the value of the unlabeled accept flag to @value.  */
static void netlbl_unlabel_acceptflg_set(u8 value, struct netlbl_audit *audit_info)
/* Description: Set the value of the unlabeled accept flag to @value.  */
static void netlbl_unlabel_acceptflg_set(u8 value, struct netlbl_audit *audit_info)
{
	struct audit_buffer *audit_buf;
	u8 old_val;
	old_val = netlabel_unlabel_acceptflg;
	netlabel_unlabel_acceptflg = value;
	audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_ALLOW,
					      audit_info);
	if (audit_buf != NULL) {
		audit_log_format(audit_buf,
				 " unlbl_accept=%u old=%u", value, old_val);
		audit_log_end(audit_buf);
	}
}