summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_test/mac_test.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-04-15 20:51:18 +0000
committerrwatson <rwatson@FreeBSD.org>2003-04-15 20:51:18 +0000
commitb557e090642bc343e91a334af1770ef797b6f219 (patch)
treeb50ff7a1461472b7e1b42bf9c4829a98329a9825 /sys/security/mac_test/mac_test.c
parent0d8c5211415390c2e13cc104c519694af6ecb98d (diff)
downloadFreeBSD-src-b557e090642bc343e91a334af1770ef797b6f219.zip
FreeBSD-src-b557e090642bc343e91a334af1770ef797b6f219.tar.gz
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
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
-rw-r--r--sys/security/mac_test/mac_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c
index 4cdfba3..7f02b6c 100644
--- a/sys/security/mac_test/mac_test.c
+++ b/sys/security/mac_test/mac_test.c
@@ -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);
OpenPOWER on IntegriCloud