FreeBSD/sys/security/mac/mac_net.c
/*
 * mac_mbuf_tag_copy is called when an mbuf header is duplicated, in which
 * case the labels must also be duplicated.
 */
mac_mbuf_tag_copy is called when an mbuf header is duplicated, in which
case the labels must also be duplicated.
mac_mbuf_tag_copy is called when an mbuf header is duplicated in which case the labels must also be duplicated .
void
mac_mbuf_tag_copy(struct m_tag *src, struct m_tag *dest)
{
	struct label *src_label, *dest_label;
	src_label = (struct label *)(src+1);
	dest_label = (struct label *)(dest+1);
	MAC_POLICY_PERFORM_NOSLEEP(mbuf_copy_label, src_label, dest_label);
}
void mac_mbuf_tag_copy ( struct m_tag * src , struct m_tag * dest ) { struct label * src_label , * dest_label ; src_label = ( struct label * ) ( src + 1 ) ; dest_label = ( struct label * ) ( dest + 1 ) ; MAC_POLICY_PERFORM_NOSLEEP ( mbuf_copy_label , src_label , dest_label ) ; }
mac_mbuf_tag_copy is called when an mbuf header is duplicated, in which
 case the labels must also be duplicated.
mac_mbuf_tag_copy is called when an mbuf header is duplicated in which case the labels must also be duplicated .
/*
	 * mac_mbuf_tag_init() is called on the target tag in m_tag_copy(),
	 * so we don't need to call it here.
	 */