diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-07-31 00:03:26 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-07-31 00:03:26 +0000 |
commit | e4b29af39ab8813bab8b000bcd7e0567cd226f4f (patch) | |
tree | 687feeae4f466a81c28cda97dde4a702016b0fa6 /sys/security | |
parent | 6c7c2ae1a10b941bcc866e766a1edaa57bfbf11a (diff) | |
download | FreeBSD-src-e4b29af39ab8813bab8b000bcd7e0567cd226f4f.zip FreeBSD-src-e4b29af39ab8813bab8b000bcd7e0567cd226f4f.tar.gz |
Reduce the memory footprint of MAC in the base system by halving
the number of policy slots to 4.
(Having run a quick errand, time to start on phase 2 of the MAC
integration)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/mac/mac_framework.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index 7ea1fe1..05aa0a9 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -184,7 +184,7 @@ int __mac_set_proc(struct mac *_mac_p); * and various other messes. */ -#define MAC_MAX_POLICIES 8 +#define MAC_MAX_POLICIES 4 struct label { int l_flags; |