1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

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
This commit is contained in:
Robert Watson 2003-06-02 18:49:11 +00:00
parent 1623181388
commit 985a0d9735
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115715

View File

@ -2632,6 +2632,7 @@ static struct mac_policy_ops mac_lomac_ops =
.mpo_destroy_socket_label = mac_lomac_destroy_label, .mpo_destroy_socket_label = mac_lomac_destroy_label,
.mpo_destroy_socket_peer_label = mac_lomac_destroy_label, .mpo_destroy_socket_peer_label = mac_lomac_destroy_label,
.mpo_destroy_vnode_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_pipe_label = mac_lomac_copy_label,
.mpo_copy_vnode_label = mac_lomac_copy_label, .mpo_copy_vnode_label = mac_lomac_copy_label,
.mpo_externalize_cred_label = mac_lomac_externalize_label, .mpo_externalize_cred_label = mac_lomac_externalize_label,