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

Function lomac_ifnet_create_mbuf

freebsd/security/mac_lomac/mac_lomac.c:1229–1239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1227}
1228
1229static void
1230lomac_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
1231 struct mbuf *m, struct label *mlabel)
1232{
1233 struct mac_lomac *source, *dest;
1234
1235 source = SLOT(ifplabel);
1236 dest = SLOT(mlabel);
1237
1238 lomac_copy_single(source, dest);
1239}
1240
1241static void
1242lomac_ifnet_relabel(struct ucred *cred, struct ifnet *ifp,

Callers

nothing calls this directly

Calls 1

lomac_copy_singleFunction · 0.85

Tested by

no test coverage detected