diff options
-rw-r--r-- | sys/security/mac_biba/mac_biba.c | 13 | ||||
-rw-r--r-- | sys/security/mac_mls/mac_mls.c | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index e999ca5..cdf4698 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -233,19 +233,6 @@ mac_biba_equal_element(struct mac_biba_element *a, struct mac_biba_element *b) } 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) { 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) { |