summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_mls
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-11-17 01:04:07 +0000
committerrwatson <rwatson@FreeBSD.org>2003-11-17 01:04:07 +0000
commitaac8ea56d6329a3e32af9086f47946a9e16e1524 (patch)
tree527da5edf647831bb446137a07fd5cdc585ca02f /sys/security/mac_mls
parent67e52cf8e433ec9890a923f2411c3747b3a14c00 (diff)
downloadFreeBSD-src-aac8ea56d6329a3e32af9086f47946a9e16e1524.zip
FreeBSD-src-aac8ea56d6329a3e32af9086f47946a9e16e1524.tar.gz
Don't implement mpo_destroy() for Biba, LOMAC, and MLS, as they
aren't allowed to be unloaded. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_mls')
-rw-r--r--sys/security/mac_mls/mac_mls.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index 9edcad7..cdf92be 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -454,12 +454,6 @@ mac_mls_copy(struct mac_mls *source, struct mac_mls *dest)
* Policy module operations.
*/
static void
-mac_mls_destroy(struct mac_policy_conf *conf)
-{
-
-}
-
-static void
mac_mls_init(struct mac_policy_conf *conf)
{
@@ -2379,7 +2373,6 @@ mac_mls_check_vnode_write(struct ucred *active_cred, struct ucred *file_cred,
static struct mac_policy_ops mac_mls_ops =
{
- .mpo_destroy = mac_mls_destroy,
.mpo_init = mac_mls_init,
.mpo_init_bpfdesc_label = mac_mls_init_label,
.mpo_init_cred_label = mac_mls_init_label,
OpenPOWER on IntegriCloud