View | Details | Raw Unified | Return to bug 178667
Collapse All | Expand All

(-)sys/security/mac_lomac/mac_lomac.c (+5 lines)
Lines 2334-2339 Link Here
2334
	}
2334
	}
2335
2335
2336
	lomac_copy_single(&ml_temp, dest);
2336
	lomac_copy_single(&ml_temp, dest);
2337
	if (ml_temp.ml_flags & MAC_LOMAC_FLAG_AUX)
2338
		lomac_copy_auxsingle(&ml_temp, dest);
2337
	return (0);
2339
	return (0);
2338
}
2340
}
2339
2341
Lines 2908-2913 Link Here
2908
		return (0);
2910
		return (0);
2909
2911
2910
	lomac_copy_single(source, &temp);
2912
	lomac_copy_single(source, &temp);
2913
	if (source->ml_flags & MAC_LOMAC_FLAG_AUX)
2914
		lomac_copy_auxsingle(source, &temp);
2915
2911
	error = vn_extattr_set(vp, IO_NODELOCKED, MAC_LOMAC_EXTATTR_NAMESPACE,
2916
	error = vn_extattr_set(vp, IO_NODELOCKED, MAC_LOMAC_EXTATTR_NAMESPACE,
2912
	    MAC_LOMAC_EXTATTR_NAME, buflen, (char *)&temp, curthread);
2917
	    MAC_LOMAC_EXTATTR_NAME, buflen, (char *)&temp, curthread);
2913
	return (error);
2918
	return (error);

Return to bug 178667