aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-10-21 18:42:01 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-10-21 18:42:01 +0000
commit2a1c79af9295caf8e57fd5a3c133ffbc66691fc1 (patch)
tree229228b753fcff46679f1fee5df00dfaf6292d68 /sys/security/mac/mac_framework.h
parente3bf3aea25afe38b015810b6f926cacca23575dd (diff)
Notes
Diffstat (limited to 'sys/security/mac/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index 8a07849e091a8..4acf7553a75b8 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -76,9 +76,11 @@
* mb_type. These structures will move to mac_biba.h once we have dymamic
* labels exposed to userland.
*/
+#define MAC_BIBA_MAX_COMPARTMENTS 256
struct mac_biba_element {
u_short mbe_type;
u_short mbe_grade;
+ u_char mbe_compartments[MAC_BIBA_MAX_COMPARTMENTS >> 3];
};
/*
@@ -100,9 +102,11 @@ struct mac_biba {
* current mm_type. These structures will move to mac_mls.h once we have
* dynamic labels exposed to userland.
*/
+#define MAC_MLS_MAX_COMPARTMENTS 256
struct mac_mls_element {
u_short mme_type;
u_short mme_level;
+ u_char mme_compartments[MAC_MLS_MAX_COMPARTMENTS >> 3];
};
/*