diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-09-21 19:20:01 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-09-21 19:20:01 +0000 |
commit | 8d4439455dfc8b68f9f7131379856f3776599f7b (patch) | |
tree | 65df7ad76c3be112330c466f60fda5b1e9066e06 /sys/security/mac_mls/mac_mls.c | |
parent | 0dd626d346f36829a38885de879b9229599cf7ea (diff) | |
download | FreeBSD-src-8d4439455dfc8b68f9f7131379856f3776599f7b.zip FreeBSD-src-8d4439455dfc8b68f9f7131379856f3776599f7b.tar.gz |
Continue cleanup and sync of mac_biba and mac_mls policies to the
TrustedBSD MAC Perforce tree. Remove unused functions
mac_biba_equal_range and mac_mls_equal_range, which determined if the
ranges in two range-enabled labels were equal.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_mls/mac_mls.c')
-rw-r--r-- | sys/security/mac_mls/mac_mls.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index 3811e64..cd17fdf 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -222,19 +222,6 @@ mac_mls_equal_element(struct mac_mls_element *a, struct mac_mls_element *b) } static int -mac_mls_equal_range(struct mac_mls *a, struct mac_mls *b) -{ - - KASSERT((a->mm_flags & MAC_MLS_FLAG_RANGE) != 0, - ("mac_mls_equal_range: a not range")); - KASSERT((b->mm_flags & MAC_MLS_FLAG_RANGE) != 0, - ("mac_mls_equal_range: b not range")); - - return (mac_mls_equal_element(&a->mm_rangelow, &b->mm_rangelow) && - mac_mls_equal_element(&a->mm_rangehigh, &b->mm_rangehigh)); -} - -static int mac_mls_equal_single(struct mac_mls *a, struct mac_mls *b) { |