From 7e595f7619470708612d974d9b916f7999847b7e Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Tue, 5 Mar 2002 18:44:11 +0000 Subject: [PATCH] Merge reservation of two SI_SUB constants for the MAC policy framework and for individual MAC policies. The framework event initializes the access control subsystem; the policy event allows policies to register themselves. The gap in between is for all the things we'll think of later. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs --- sys/sys/kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h index f86a638a06e9..8031b221701a 100644 --- a/sys/sys/kernel.h +++ b/sys/sys/kernel.h @@ -122,6 +122,8 @@ enum sysinit_sub_id { SI_SUB_EVENTHANDLER = 0x1C00000, /* eventhandler init */ SI_SUB_KLD = 0x2000000, /* KLD and module setup */ SI_SUB_CPU = 0x2100000, /* CPU resource(s)*/ + SI_SUB_MAC = 0x2180000, /* TrustedBSD MAC subsystem */ + SI_SUB_MAC_POLICY = 0x21C0000, /* TrustedBSD MAC policies */ SI_SUB_INTRINSIC = 0x2200000, /* proc 0*/ SI_SUB_VM_CONF = 0x2300000, /* config VM, set limits*/ SI_SUB_RUN_QUEUE = 0x2400000, /* set up run queue*/