mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
7ebe6f9e2f
commit
9453a033ff
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue