PERFORCE change 14895 for review

Robert Watson rwatson at freebsd.org
Thu Jul 25 10:21:37 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14895

Change 14895 by rwatson at rwatson_curry on 2002/07/25 03:21:36

	Set Biba and MLS range flags in their set_range() functions;
	this may explain why interface labeling wasn't quite working
	right since the change to dynamic labels.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#70 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#58 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#70 (text+ko) ====

@@ -333,6 +333,7 @@
 	mac_biba->mb_rangelow.mbe_grade = gradelow;
 	mac_biba->mb_rangehigh.mbe_type = typehigh;
 	mac_biba->mb_rangehigh.mbe_grade = gradehigh;
+	mac_biba->mb_flags |= MAC_BIBA_FLAG_RANGE;
 }
 
 static void

==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#58 (text+ko) ====

@@ -311,6 +311,7 @@
 	mac_mls->mm_rangelow.mme_level = levellow;
 	mac_mls->mm_rangehigh.mme_type = typehigh;
 	mac_mls->mm_rangehigh.mme_level = levelhigh;
+	mac_mls->mm_flags |= MAC_MLS_FLAG_RANGE;
 }
 
 static void
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