diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-11-17 01:04:07 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-11-17 01:04:07 +0000 |
commit | aac8ea56d6329a3e32af9086f47946a9e16e1524 (patch) | |
tree | 527da5edf647831bb446137a07fd5cdc585ca02f /sys/security/mac_lomac | |
parent | 67e52cf8e433ec9890a923f2411c3747b3a14c00 (diff) | |
download | FreeBSD-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_lomac')
-rw-r--r-- | sys/security/mac_lomac/mac_lomac.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c index 7c2f3cb..c3ec772 100644 --- a/sys/security/mac_lomac/mac_lomac.c +++ b/sys/security/mac_lomac/mac_lomac.c @@ -599,12 +599,6 @@ try_relabel(struct mac_lomac *from, struct mac_lomac *to) * Policy module operations. */ static void -mac_lomac_destroy(struct mac_policy_conf *conf) -{ - -} - -static void mac_lomac_init(struct mac_policy_conf *conf) { @@ -2585,7 +2579,6 @@ mac_lomac_thread_userret(struct thread *td) static struct mac_policy_ops mac_lomac_ops = { - .mpo_destroy = mac_lomac_destroy, .mpo_init = mac_lomac_init, .mpo_init_bpfdesc_label = mac_lomac_init_label, .mpo_init_cred_label = mac_lomac_init_label, |