| 86 | } |
| 87 | |
| 88 | void |
| 89 | mac_cred_init(struct ucred *cred) |
| 90 | { |
| 91 | |
| 92 | if (mac_labeled & MPC_OBJECT_CRED) |
| 93 | cred->cr_label = mac_cred_label_alloc(); |
| 94 | else |
| 95 | cred->cr_label = NULL; |
| 96 | } |
| 97 | |
| 98 | void |
| 99 | mac_cred_label_free(struct label *label) |
no test coverage detected