Searched refs:labelfrom (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/security/mac_lomac/
H A Dmac_lomac.c444 lomac_copy_range(struct mac_lomac *labelfrom, struct mac_lomac *labelto) argument
447 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0,
448 ("lomac_copy_range: labelfrom not range"));
450 labelto->ml_rangelow = labelfrom->ml_rangelow;
451 labelto->ml_rangehigh = labelfrom->ml_rangehigh;
456 lomac_copy_single(struct mac_lomac *labelfrom, struct mac_lomac *labelto) argument
459 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0,
460 ("lomac_copy_single: labelfrom not single"));
462 labelto->ml_single = labelfrom->ml_single;
467 lomac_copy_auxsingle(struct mac_lomac *labelfrom, struc argument
[all...]
/freebsd-11-stable/sys/security/mac_biba/
H A Dmac_biba.c461 biba_copy_range(struct mac_biba *labelfrom, struct mac_biba *labelto) argument
464 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_RANGE) != 0,
465 ("biba_copy_range: labelfrom not range"));
467 labelto->mb_rangelow = labelfrom->mb_rangelow;
468 labelto->mb_rangehigh = labelfrom->mb_rangehigh;
473 biba_copy_effective(struct mac_biba *labelfrom, struct mac_biba *labelto) argument
476 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) != 0,
477 ("biba_copy_effective: labelfrom not effective"));
479 labelto->mb_effective = labelfrom->mb_effective;
/freebsd-11-stable/sys/security/mac_mls/
H A Dmac_mls.c426 mls_copy_range(struct mac_mls *labelfrom, struct mac_mls *labelto) argument
429 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_RANGE) != 0,
430 ("mls_copy_range: labelfrom not range"));
432 labelto->mm_rangelow = labelfrom->mm_rangelow;
433 labelto->mm_rangehigh = labelfrom->mm_rangehigh;
438 mls_copy_effective(struct mac_mls *labelfrom, struct mac_mls *labelto) argument
441 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_EFFECTIVE) != 0,
442 ("mls_copy_effective: labelfrom not effective"));
444 labelto->mm_effective = labelfrom->mm_effective;

Completed in 184 milliseconds