| 446 | } |
| 447 | |
| 448 | static void |
| 449 | biba_set_effective(struct mac_biba *mb, u_short type, u_short grade, |
| 450 | u_char *compartments) |
| 451 | { |
| 452 | |
| 453 | mb->mb_effective.mbe_type = type; |
| 454 | mb->mb_effective.mbe_grade = grade; |
| 455 | if (compartments != NULL) |
| 456 | memcpy(mb->mb_effective.mbe_compartments, compartments, |
| 457 | sizeof(mb->mb_effective.mbe_compartments)); |
| 458 | mb->mb_flags |= MAC_BIBA_FLAG_EFFECTIVE; |
| 459 | } |
| 460 | |
| 461 | static void |
| 462 | biba_copy_range(struct mac_biba *labelfrom, struct mac_biba *labelto) |
no test coverage detected