| 76 | #include <security/mac/mac_policy.h> |
| 77 | |
| 78 | struct label * |
| 79 | mac_cred_label_alloc(void) |
| 80 | { |
| 81 | struct label *label; |
| 82 | |
| 83 | label = mac_labelzone_alloc(M_WAITOK); |
| 84 | MAC_POLICY_PERFORM(cred_init_label, label); |
| 85 | return (label); |
| 86 | } |
| 87 | |
| 88 | void |
| 89 | mac_cred_init(struct ucred *cred) |
no test coverage detected