Searched refs:labelfrom (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/security/mac_lomac/ |
| H A D | mac_lomac.c | 443 lomac_copy_range(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_range() argument 446 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, in lomac_copy_range() 449 labelto->ml_rangelow = labelfrom->ml_rangelow; in lomac_copy_range() 450 labelto->ml_rangehigh = labelfrom->ml_rangehigh; in lomac_copy_range() 455 lomac_copy_single(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_single() argument 458 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_copy_single() 461 labelto->ml_single = labelfrom->ml_single; in lomac_copy_single() 466 lomac_copy_auxsingle(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_auxsingle() argument 469 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_AUX) != 0, in lomac_copy_auxsingle() 472 labelto->ml_auxsingle = labelfrom->ml_auxsingle; in lomac_copy_auxsingle()
|
| /freebsd-14.2/sys/security/mac_mls/ |
| H A D | mac_mls.c | 425 mls_copy_range(struct mac_mls *labelfrom, struct mac_mls *labelto) in mls_copy_range() argument 428 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_RANGE) != 0, in mls_copy_range() 431 labelto->mm_rangelow = labelfrom->mm_rangelow; in mls_copy_range() 432 labelto->mm_rangehigh = labelfrom->mm_rangehigh; in mls_copy_range() 437 mls_copy_effective(struct mac_mls *labelfrom, struct mac_mls *labelto) in mls_copy_effective() argument 440 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_EFFECTIVE) != 0, in mls_copy_effective() 443 labelto->mm_effective = labelfrom->mm_effective; in mls_copy_effective()
|
| /freebsd-14.2/sys/security/mac_biba/ |
| H A D | mac_biba.c | 460 biba_copy_range(struct mac_biba *labelfrom, struct mac_biba *labelto) in biba_copy_range() argument 463 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_RANGE) != 0, in biba_copy_range() 466 labelto->mb_rangelow = labelfrom->mb_rangelow; in biba_copy_range() 467 labelto->mb_rangehigh = labelfrom->mb_rangehigh; in biba_copy_range() 472 biba_copy_effective(struct mac_biba *labelfrom, struct mac_biba *labelto) in biba_copy_effective() argument 475 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) != 0, in biba_copy_effective() 478 labelto->mb_effective = labelfrom->mb_effective; in biba_copy_effective()
|