summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_mls/mac_mls.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-22 14:31:34 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-22 14:31:34 +0000
commit433e63644a338a43a41eaa4d187660d3697c63ae (patch)
treeac2846797eb26027ef08a9287e6297d480727da9 /sys/security/mac_mls/mac_mls.h
parentfdfbfa99f4afe0650a0d2edd6c71256c9dfd7f0b (diff)
downloadFreeBSD-src-433e63644a338a43a41eaa4d187660d3697c63ae.zip
FreeBSD-src-433e63644a338a43a41eaa4d187660d3697c63ae.tar.gz
Adapt MAC policies for the new user API changes; teach policies how
to parse their own label elements (some cleanup to occur here in the future to use the newly added kernel strsep()). Policies now entirely encapsulate their notion of label in the policy module. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_mls/mac_mls.h')
-rw-r--r--sys/security/mac_mls/mac_mls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/security/mac_mls/mac_mls.h b/sys/security/mac_mls/mac_mls.h
index bf255a1..23296dd 100644
--- a/sys/security/mac_mls/mac_mls.h
+++ b/sys/security/mac_mls/mac_mls.h
@@ -43,7 +43,9 @@
#define _SYS_SECURITY_MAC_MLS_H
#define MAC_MLS_EXTATTR_NAMESPACE EXTATTR_NAMESPACE_SYSTEM
-#define MAC_MLS_EXTATTR_NAME "mac_biba"
+#define MAC_MLS_EXTATTR_NAME "mac_mls"
+
+#define MAC_MLS_LABEL_NAME "mls"
#define MAC_MLS_FLAG_SINGLE 0x00000001 /* mm_single initialized */
#define MAC_MLS_FLAG_RANGE 0x00000002 /* mm_range* initialized */
OpenPOWER on IntegriCloud