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

Function mls_copy

freebsd/security/mac_mls/mac_mls.c:449–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449static void
450mls_copy(struct mac_mls *source, struct mac_mls *dest)
451{
452
453 if (source->mm_flags & MAC_MLS_FLAG_EFFECTIVE)
454 mls_copy_effective(source, dest);
455 if (source->mm_flags & MAC_MLS_FLAG_RANGE)
456 mls_copy_range(source, dest);
457}
458
459/*
460 * Policy module operations.

Callers 6

mls_cred_relabelFunction · 0.85
mls_ifnet_relabelFunction · 0.85
mls_inpcb_sosetlabelFunction · 0.85
mls_pipe_relabelFunction · 0.85
mls_socket_relabelFunction · 0.85
mls_vnode_relabelFunction · 0.85

Calls 2

mls_copy_effectiveFunction · 0.85
mls_copy_rangeFunction · 0.85

Tested by

no test coverage detected