PERFORCE change 17427 for review

Robert Watson rwatson at freebsd.org
Fri Sep 13 02:02:24 GMT 2002


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

Change 17427 by rwatson at rwatson_paprika on 2002/09/12 19:01:24

	Warning fixes due to parens positioning in assignments.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#104 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#86 edit

Differences ...

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

@@ -274,8 +274,8 @@
 mac_biba_subject_equal_ok(struct mac_biba *mac_biba)
 {
 
-	KASSERT((mac_biba->mb_flags & MAC_BIBA_FLAGS_BOTH ==
-	    MAC_BIBA_FLAGS_BOTH),
+	KASSERT((mac_biba->mb_flags & MAC_BIBA_FLAGS_BOTH) ==
+	    MAC_BIBA_FLAGS_BOTH,
 	    ("mac_biba_subject_equal_ok: subject doesn't have both labels"));
 
 	/* If the single is EQUAL, it's ok */

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

@@ -264,7 +264,7 @@
 mac_mls_subject_equal_ok(struct mac_mls *mac_mls)
 {
 
-	KASSERT((mac_mls->mm_flags & MAC_MLS_FLAGS_BOTH == MAC_MLS_FLAGS_BOTH),
+	KASSERT((mac_mls->mm_flags & MAC_MLS_FLAGS_BOTH) == MAC_MLS_FLAGS_BOTH,
 	    ("mac_mls_subject_equal_ok: subject doesn't have both labels"));
 
 	/* If the single is EQUAL, it's ok. */
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