From 433e63644a338a43a41eaa4d187660d3697c63ae Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 22 Oct 2002 14:31:34 +0000 Subject: 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 --- sys/security/mac_mls/mac_mls.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/security/mac_mls/mac_mls.h') 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 */ -- cgit v1.1