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

Function lomac_bpfdesc_create

freebsd/security/mac_lomac/mac_lomac.c:887–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885}
886
887static void
888lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d,
889 struct label *dlabel)
890{
891 struct mac_lomac *source, *dest;
892
893 source = SLOT(cred->cr_label);
894 dest = SLOT(dlabel);
895
896 lomac_copy_single(source, dest);
897}
898
899static void
900lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,

Callers

nothing calls this directly

Calls 1

lomac_copy_singleFunction · 0.85

Tested by

no test coverage detected