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

Function mls_ifnet_create_mbuf

freebsd/security/mac_mls/mac_mls.c:1036–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034}
1035
1036static void
1037mls_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
1038 struct mbuf *m, struct label *mlabel)
1039{
1040 struct mac_mls *source, *dest;
1041
1042 source = SLOT(ifplabel);
1043 dest = SLOT(mlabel);
1044
1045 mls_copy_effective(source, dest);
1046}
1047
1048static void
1049mls_ifnet_relabel(struct ucred *cred, struct ifnet *ifp,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected