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

Function mls_inpcb_create_mbuf

freebsd/security/mac_mls/mac_mls.c:1105–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105static void
1106mls_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
1107 struct mbuf *m, struct label *mlabel)
1108{
1109 struct mac_mls *source, *dest;
1110
1111 source = SLOT(inplabel);
1112 dest = SLOT(mlabel);
1113
1114 mls_copy_effective(source, dest);
1115}
1116
1117static void
1118mls_inpcb_sosetlabel(struct socket *so, struct label *solabel,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected