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
This commit is contained in:
Robert Watson 2002-07-31 00:03:26 +00:00
parent 7ebe6f9e2f
commit 9453a033ff
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;