Date: Thu, 12 Sep 2002 13:47:41 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17420 for review Message-ID: <200209122047.g8CKlfZw068233@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17420 Change 17420 by rwatson@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@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?200209122047.g8CKlfZw068233>