From 985a0d97350e7397e2fa1e061ee31c3a660084f6 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 2 Jun 2003 18:49:11 +0000 Subject: [PATCH] Also implement mpo_copy_mbuf_label() for mac_lomac, or labels may not be properly propagated across some mbuf copy operations. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories --- sys/security/mac_lomac/mac_lomac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c index ef87654579c7..57c95e8dbafc 100644 --- a/sys/security/mac_lomac/mac_lomac.c +++ b/sys/security/mac_lomac/mac_lomac.c @@ -2632,6 +2632,7 @@ static struct mac_policy_ops mac_lomac_ops = .mpo_destroy_socket_label = mac_lomac_destroy_label, .mpo_destroy_socket_peer_label = mac_lomac_destroy_label, .mpo_destroy_vnode_label = mac_lomac_destroy_label, + .mpo_copy_mbuf_label = mac_lomac_copy_label, .mpo_copy_pipe_label = mac_lomac_copy_label, .mpo_copy_vnode_label = mac_lomac_copy_label, .mpo_externalize_cred_label = mac_lomac_externalize_label,