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

Function lomac_copy

freebsd/security/mac_lomac/mac_lomac.c:478–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478static void
479lomac_copy(struct mac_lomac *source, struct mac_lomac *dest)
480{
481
482 if (source->ml_flags & MAC_LOMAC_FLAG_SINGLE)
483 lomac_copy_single(source, dest);
484 if (source->ml_flags & MAC_LOMAC_FLAG_AUX)
485 lomac_copy_auxsingle(source, dest);
486 if (source->ml_flags & MAC_LOMAC_FLAG_RANGE)
487 lomac_copy_range(source, dest);
488}
489
490static int lomac_to_string(struct sbuf *sb, struct mac_lomac *ml);
491

Callers 7

try_relabelFunction · 0.85
lomac_devfs_updateFunction · 0.85
lomac_syncache_createFunction · 0.85
lomac_thread_userretFunction · 0.85

Calls 3

lomac_copy_singleFunction · 0.85
lomac_copy_auxsingleFunction · 0.85
lomac_copy_rangeFunction · 0.85

Tested by

no test coverage detected