PERFORCE change 32385 for review

Robert Watson rwatson at FreeBSD.org
Mon Jun 2 09:46:40 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=32385

Change 32385 by rwatson at 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,


More information about the p4-projects mailing list