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

Function lomac_bpfdesc_create_mbuf

freebsd/security/mac_lomac/mac_lomac.c:899–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899static void
900lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
901 struct mbuf *m, struct label *mlabel)
902{
903 struct mac_lomac *source, *dest;
904
905 source = SLOT(dlabel);
906 dest = SLOT(mlabel);
907
908 lomac_copy_single(source, dest);
909}
910
911static int
912lomac_cred_check_relabel(struct ucred *cred, struct label *newlabel)

Callers

nothing calls this directly

Calls 1

lomac_copy_singleFunction · 0.85

Tested by

no test coverage detected