MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mac_ifnet_label_alloc

Function mac_ifnet_label_alloc

freebsd/security/mac/mac_net.c:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131static struct label *
132mac_ifnet_label_alloc(void)
133{
134 struct label *label;
135
136 label = mac_labelzone_alloc(M_WAITOK);
137 MAC_POLICY_PERFORM(ifnet_init_label, label);
138 return (label);
139}
140
141void
142mac_ifnet_init(struct ifnet *ifp)

Callers 3

mac_ifnet_initFunction · 0.85
mac_ifnet_ioctl_getFunction · 0.85
mac_ifnet_ioctl_setFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected