/* smk_unlbl_ambient - initialize the unlabeled domain @oldambient: previous domain string  */
static void smk_unlbl_ambient(char *oldambient)
/* smk_unlbl_ambient - initialize the unlabeled domain @oldambient: previous domain string  */
static void smk_unlbl_ambient(char *oldambient)
{
	int rc;
	struct netlbl_audit nai;
	smk_netlabel_audit_set(&nai);
	if (oldambient != NULL) {
		rc = netlbl_cfg_map_del(oldambient, PF_INET, NULL, NULL, &nai);
		if (rc != 0)
			printk(KERN_WARNING "%s:%d remove rc = %d\n",
			       __func__, __LINE__, rc);
	}
	rc = netlbl_cfg_unlbl_map_add(smack_net_ambient, PF_INET,
				      NULL, NULL, &nai);
	if (rc != 0)
		printk(KERN_WARNING "%s:%d add rc = %d\n",
		       __func__, __LINE__, rc);
}