PERFORCE change 24652 for review
Robert Watson
rwatson at freebsd.org
Tue Feb 4 14:45:20 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=24652
Change 24652 by rwatson at rwatson_tislabs on 2003/02/04 06:45:02
Fix copy-and-paste-o on the comments in the relabeling code:
we're checking the "new" label, not the "current" label in this
check, unlike the prior check.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#195 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#154 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#195 (text+ko) ====
@@ -1449,7 +1449,7 @@
/*
* To change the Biba range on a credential, the new
- * range label must be in the current range.
+ * range label must be in the new range.
*/
if (new->mb_flags & MAC_BIBA_FLAG_RANGE &&
!mac_biba_range_in_range(new, subj))
==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#154 (text+ko) ====
@@ -1387,7 +1387,7 @@
/*
* To change the MLS range label on a credential, the
- * new range label must be in the current range.
+ * new range label must be in the new range.
*/
if (new->mm_flags & MAC_MLS_FLAG_RANGE &&
!mac_mls_range_in_range(new, subj))
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list