| 424 | } |
| 425 | |
| 426 | static void |
| 427 | mls_copy_range(struct mac_mls *labelfrom, struct mac_mls *labelto) |
| 428 | { |
| 429 | |
| 430 | KASSERT((labelfrom->mm_flags & MAC_MLS_FLAG_RANGE) != 0, |
| 431 | ("mls_copy_range: labelfrom not range")); |
| 432 | |
| 433 | labelto->mm_rangelow = labelfrom->mm_rangelow; |
| 434 | labelto->mm_rangehigh = labelfrom->mm_rangehigh; |
| 435 | labelto->mm_flags |= MAC_MLS_FLAG_RANGE; |
| 436 | } |
| 437 | |
| 438 | static void |
| 439 | mls_copy_effective(struct mac_mls *labelfrom, struct mac_mls *labelto) |