PERFORCE change 17420 for review

Robert Watson rwatson at freebsd.org
Thu Sep 12 20:47:41 GMT 2002


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

Change 17420 by rwatson at rwatson_sproing on 2002/09/12 13:46:57

	Remove unused functions and restore building with -Werror.

Affected files ...

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

Differences ...

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

@@ -241,19 +241,6 @@
 }
 
 static int
-mac_biba_equal_range(struct mac_biba *a, struct mac_biba *b)
-{
-
-	KASSERT((a->mb_flags & MAC_BIBA_FLAG_RANGE) != 0,
-	    ("mac_biba_equal_range: a not range"));
-	KASSERT((b->mb_flags & MAC_BIBA_FLAG_RANGE) != 0,
-	    ("mac_biba_equal_range: b not range"));
-
-	return (mac_biba_equal_element(&a->mb_rangelow, &b->mb_rangelow) &&
-	    mac_biba_equal_element(&a->mb_rangehigh, &b->mb_rangehigh));
-}
-
-static int
 mac_biba_equal_single(struct mac_biba *a, struct mac_biba *b)
 {
 
@@ -266,13 +253,6 @@
 }
 
 static int
-mac_biba_high_single(struct mac_biba *mac_biba)
-{
-
-	return (mac_biba->mb_single.mbe_type == MAC_BIBA_TYPE_HIGH);
-}
-
-static int
 mac_biba_contains_equal(struct mac_biba *mac_biba)
 {
 
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