Home
last modified time | relevance | path

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

/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c442 lomac_copy_range(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_range() argument
445 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, in lomac_copy_range()
448 labelto->ml_rangelow = labelfrom->ml_rangelow; in lomac_copy_range()
449 labelto->ml_rangehigh = labelfrom->ml_rangehigh; in lomac_copy_range()
454 lomac_copy_single(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_single() argument
457 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_copy_single()
460 labelto->ml_single = labelfrom->ml_single; in lomac_copy_single()
465 lomac_copy_auxsingle(struct mac_lomac *labelfrom, struct mac_lomac *labelto) in lomac_copy_auxsingle() argument
468 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_AUX) != 0, in lomac_copy_auxsingle()
471 labelto->ml_auxsingle = labelfrom->ml_auxsingle; in lomac_copy_auxsingle()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c423 mls_copy_range(struct mac_mls *labelfrom, struct mac_mls *labelto) in mls_copy_range() argument
426 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_RANGE) != 0, in mls_copy_range()
429 labelto->mm_rangelow = labelfrom->mm_rangelow; in mls_copy_range()
430 labelto->mm_rangehigh = labelfrom->mm_rangehigh; in mls_copy_range()
435 mls_copy_effective(struct mac_mls *labelfrom, struct mac_mls *labelto) in mls_copy_effective() argument
438 KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_EFFECTIVE) != 0, in mls_copy_effective()
441 labelto->mm_effective = labelfrom->mm_effective; in mls_copy_effective()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c459 biba_copy_range(struct mac_biba *labelfrom, struct mac_biba *labelto) in biba_copy_range() argument
462 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_RANGE) != 0, in biba_copy_range()
465 labelto->mb_rangelow = labelfrom->mb_rangelow; in biba_copy_range()
466 labelto->mb_rangehigh = labelfrom->mb_rangehigh; in biba_copy_range()
471 biba_copy_effective(struct mac_biba *labelfrom, struct mac_biba *labelto) in biba_copy_effective() argument
474 KASSERT((labelfrom->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) != 0, in biba_copy_effective()
477 labelto->mb_effective = labelfrom->mb_effective; in biba_copy_effective()