| 778 | } |
| 779 | |
| 780 | static void |
| 781 | mls_cred_associate_nfsd(struct ucred *cred) |
| 782 | { |
| 783 | struct mac_mls *label; |
| 784 | |
| 785 | label = SLOT(cred->cr_label); |
| 786 | mls_set_effective(label, MAC_MLS_TYPE_LOW, 0, NULL); |
| 787 | mls_set_range(label, MAC_MLS_TYPE_LOW, 0, NULL, MAC_MLS_TYPE_HIGH, 0, |
| 788 | NULL); |
| 789 | } |
| 790 | |
| 791 | static int |
| 792 | mls_cred_check_relabel(struct ucred *cred, struct label *newlabel) |
nothing calls this directly
no test coverage detected