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

Function mls_copy_effective

freebsd/security/mac_mls/mac_mls.c:438–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438static void
439mls_copy_effective(struct mac_mls *labelfrom, struct mac_mls *labelto)
440{
441
442 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_EFFECTIVE) != 0,
443 ("mls_copy_effective: labelfrom not effective"));
444
445 labelto->mm_effective = labelfrom->mm_effective;
446 labelto->mm_flags |= MAC_MLS_FLAG_EFFECTIVE;
447}
448
449static void
450mls_copy(struct mac_mls *source, struct mac_mls *dest)

Callers 15

mls_copyFunction · 0.85
mls_bpfdesc_createFunction · 0.85
mls_bpfdesc_create_mbufFunction · 0.85
mls_devfs_create_symlinkFunction · 0.85
mls_devfs_updateFunction · 0.85
mls_ifnet_create_mbufFunction · 0.85
mls_inpcb_createFunction · 0.85
mls_inpcb_create_mbufFunction · 0.85
mls_ip6q_createFunction · 0.85
mls_ip6q_reassembleFunction · 0.85
mls_ipq_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected