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

Function mac_syncache_create_mbuf

freebsd/security/mac/mac_inet.c:495–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495void
496mac_syncache_create_mbuf(struct label *sc_label, struct mbuf *m)
497{
498 struct label *mlabel;
499
500 M_ASSERTPKTHDR(m);
501
502 if (mac_policy_count == 0)
503 return;
504
505 mlabel = mac_mbuf_to_label(m);
506
507 MAC_POLICY_PERFORM_NOSLEEP(syncache_create_mbuf, sc_label, m,
508 mlabel);
509}

Callers 1

syncache_respondFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected