FreeBSD/sys/security/mac/mac_label.c
/*
 * mac_init_label() and mac_destroy_label() are exported so that they can be
 * used in mbuf tag initialization, where labels are not slab allocated from
 * the zone_label zone.
 */
mac_init_label() and mac_destroy_label() are exported so that they can be
used in mbuf tag initialization, where labels are not slab allocated from
the zone_label zone.
mac_init_label () and mac_destroy_label () are exported so that they can be used in mbuf tag initialization where labels are not slab allocated from the zone_label zone .
void
mac_init_label(struct label *label)
{
	bzero(label, sizeof(*label));
	label->l_flags = MAC_FLAG_INITIALIZED;
}
void mac_init_label ( struct label * label ) { bzero ( label , sizeof ( * label ) ) ; label -> l_flags = MAC_FLAG_INITIALIZED ; }
mac_init_label() and mac_destroy_label() are exported so that they can be
 used in mbuf tag initialization, where labels are not slab allocated from
 the zone_label zone.
mac_init_label () and mac_destroy_label () are exported so that they can be used in mbuf tag initialization where labels are not slab allocated from the zone_label zone .