Enable the MAC_ALWAYS_LABEL_MBUF flag for the Biba, LOMAC, MLS, and Test
policies. Missed in earlier merge. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
0d8c521141
commit
b557e09064
@ -2751,4 +2751,4 @@ static struct mac_policy_ops mac_biba_ops =
|
||||
};
|
||||
|
||||
MAC_POLICY_SET(&mac_biba_ops, mac_biba, "TrustedBSD MAC/Biba",
|
||||
MPC_LOADTIME_FLAG_NOTLATE, &mac_biba_slot);
|
||||
MPC_LOADTIME_FLAG_NOTLATE | MPC_LOADTIME_FLAG_LABELMBUFS, &mac_biba_slot);
|
||||
|
@ -2734,4 +2734,4 @@ static struct mac_policy_ops mac_lomac_ops =
|
||||
};
|
||||
|
||||
MAC_POLICY_SET(&mac_lomac_ops, mac_lomac, "TrustedBSD MAC/LOMAC",
|
||||
MPC_LOADTIME_FLAG_NOTLATE, &mac_lomac_slot);
|
||||
MPC_LOADTIME_FLAG_NOTLATE | MPC_LOADTIME_FLAG_LABELMBUFS, &mac_lomac_slot);
|
||||
|
@ -2507,4 +2507,4 @@ static struct mac_policy_ops mac_mls_ops =
|
||||
};
|
||||
|
||||
MAC_POLICY_SET(&mac_mls_ops, mac_mls, "TrustedBSD MAC/MLS",
|
||||
MPC_LOADTIME_FLAG_NOTLATE, &mac_mls_slot);
|
||||
MPC_LOADTIME_FLAG_NOTLATE | MPC_LOADTIME_FLAG_LABELMBUFS, &mac_mls_slot);
|
||||
|
@ -1496,4 +1496,4 @@ static struct mac_policy_ops mac_test_ops =
|
||||
};
|
||||
|
||||
MAC_POLICY_SET(&mac_test_ops, mac_test, "TrustedBSD MAC/Test",
|
||||
MPC_LOADTIME_FLAG_UNLOADOK, &test_slot);
|
||||
MPC_LOADTIME_FLAG_UNLOADOK | MPC_LOADTIME_FLAG_LABELMBUFS, &test_slot);
|
||||
|
Loading…
Reference in New Issue
Block a user