Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2003 06:45:20 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 24652 for review
Message-ID:  <200302041445.h14EjK0N040123@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=24652

Change 24652 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302041445.h14EjK0N040123>