PERFORCE change 109956 for review
Todd Miller
millert at FreeBSD.org
Tue Nov 14 18:49:20 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109956
Change 109956 by millert at millert_g5tower on 2006/11/14 18:48:37
Validate MLS label on externalize.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/mls/mac_mls.c#20 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/mls/mac_mls.c#20 (text+ko) ====
@@ -785,6 +785,9 @@
mac_mls = SLOT(label);
+ if (mac_mls_valid(mac_mls))
+ return (ENOENT);
+
return (mac_mls_to_string(sb, mac_mls));
}
More information about the trustedbsd-cvs
mailing list