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

Function mls_inpcb_create

freebsd/security/mac_mls/mac_mls.c:1093–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091}
1092
1093static void
1094mls_inpcb_create(struct socket *so, struct label *solabel, struct inpcb *inp,
1095 struct label *inplabel)
1096{
1097 struct mac_mls *source, *dest;
1098
1099 source = SLOT(solabel);
1100 dest = SLOT(inplabel);
1101
1102 mls_copy_effective(source, dest);
1103}
1104
1105static void
1106mls_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected