Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 09:46:37 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 32385 for review
Message-ID:  <200306021646.h52GkbRf068079@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32385

Change 32385 by rwatson@rwatson_tislabs on 2003/06/02 09:46:15

	Hook up mpo_copy_mbuf_label for Biba and MLS; this got lost
	in the earlier merge from the m_tag development branch, and
	can result in labels being improperly copied across some
	classes of mbuf operations (such as defragmentation).

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#213 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#171 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#213 (text+ko) ====

@@ -2699,6 +2699,7 @@
 	.mpo_destroy_socket_label = mac_biba_destroy_label,
 	.mpo_destroy_socket_peer_label = mac_biba_destroy_label,
 	.mpo_destroy_vnode_label = mac_biba_destroy_label,
+	.mpo_copy_mbuf_label = mac_biba_copy_label,
 	.mpo_copy_pipe_label = mac_biba_copy_label,
 	.mpo_copy_vnode_label = mac_biba_copy_label,
 	.mpo_externalize_cred_label = mac_biba_externalize_label,

==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#171 (text+ko) ====

@@ -2470,6 +2470,7 @@
 	.mpo_destroy_socket_label = mac_mls_destroy_label,
 	.mpo_destroy_socket_peer_label = mac_mls_destroy_label,
 	.mpo_destroy_vnode_label = mac_mls_destroy_label,
+	.mpo_copy_mbuf_label = mac_mls_copy_label,
 	.mpo_copy_pipe_label = mac_mls_copy_label,
 	.mpo_copy_vnode_label = mac_mls_copy_label,
 	.mpo_externalize_cred_label = mac_mls_externalize_label,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306021646.h52GkbRf068079>