PERFORCE change 19663 for review

Robert Watson rwatson at freebsd.org
Sun Oct 20 00:11:22 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=19663

Change 19663 by rwatson at rwatson_paprika on 2002/10/19 17:11:17

	Correct some nits that probably slipped in from the MLS merge:
	
	- proc1 is high, not low, by default
	- trailing whitespace
	- trailing \n at end of file

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#137 edit

Differences ...

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

@@ -689,7 +689,7 @@
 			if (d < 1 || d > MAC_BIBA_MAX_COMPARTMENTS)
 				return (EINVAL);
 
-			MAC_BIBA_BIT_SET(d, element->mbe_compartments); 
+			MAC_BIBA_BIT_SET(d, element->mbe_compartments);
 
 			if (*p1 == '\0')
 				break;
@@ -1354,7 +1354,7 @@
 
 	dest = SLOT(&cred->cr_label);
 
-	mac_biba_set_single(dest, MAC_BIBA_TYPE_LOW, 0, NULL);
+	mac_biba_set_single(dest, MAC_BIBA_TYPE_HIGH, 0, NULL);
 	mac_biba_set_range(dest, MAC_BIBA_TYPE_LOW, 0, NULL, MAC_BIBA_TYPE_HIGH,
 	    0, NULL);
 }
@@ -2665,4 +2665,3 @@
 
 MAC_POLICY_SET(mac_biba_ops, trustedbsd_mac_biba, "TrustedBSD MAC/Biba",
     MPC_LOADTIME_FLAG_NOTLATE, &mac_biba_slot);
-
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