summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-03-05 18:44:11 +0000
committerrwatson <rwatson@FreeBSD.org>2002-03-05 18:44:11 +0000
commitca0bd82b4f2c516867f9bd1385d2dbbc2f8858c9 (patch)
tree5d2bffda7ec9ea1457e5591fcc7841f6db039c7f
parente97f2e798cd6b011c8a34b6e666c28553db2b0b0 (diff)
downloadFreeBSD-src-ca0bd82b4f2c516867f9bd1385d2dbbc2f8858c9.zip
FreeBSD-src-ca0bd82b4f2c516867f9bd1385d2dbbc2f8858c9.tar.gz
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
-rw-r--r--sys/sys/kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
index f86a638..8031b22 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*/
OpenPOWER on IntegriCloud