| 131 | } |
| 132 | |
| 133 | int |
| 134 | mac_ipq_init(struct ipq *q, int flag) |
| 135 | { |
| 136 | |
| 137 | if (mac_labeled & MPC_OBJECT_IPQ) { |
| 138 | q->ipq_label = mac_ipq_label_alloc(flag); |
| 139 | if (q->ipq_label == NULL) |
| 140 | return (ENOMEM); |
| 141 | } else |
| 142 | q->ipq_label = NULL; |
| 143 | return (0); |
| 144 | } |
| 145 | |
| 146 | static void |
| 147 | mac_inpcb_label_free(struct label *label) |
no test coverage detected