• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/security/

Lines Matching refs:label

80 struct label *
84 struct label *label;
101 label = (struct label *)(tag+1);
102 return (label);
105 static struct label *
108 struct label *label;
110 label = mac_labelzone_alloc(M_WAITOK);
111 if (label == NULL)
113 MAC_PERFORM(bpfdesc_label_init, label);
114 return (label);
120 struct label *label;
122 label = mac_bpfdesc_label_alloc();
123 mac_bpfdesc_label_set(bpf_d, label);
126 static struct label *
129 struct label *label;
131 label = mac_labelzone_alloc(M_WAITOK);
132 if (label == NULL)
134 MAC_PERFORM(ifnet_label_init, label);
135 return (label);
151 struct label *label;
154 label = (struct label *) (tag + 1);
155 mac_label_init(label);
157 MAC_CHECK(mbuf_label_init, label, flag);
165 mac_bpfdesc_label_free(struct label *label)
168 MAC_PERFORM(bpfdesc_label_destroy, label);
169 mac_labelzone_free(label);
175 struct label *label;
177 label = mac_bpfdesc_label_get(bpf_d);
178 mac_bpfdesc_label_free(label);
183 mac_ifnet_label_free(struct label *label)
186 MAC_PERFORM(ifnet_label_destroy, label);
187 mac_labelzone_free(label);
208 struct label *label;
210 label = (struct label *)(tag + 1);
211 MAC_PERFORM(mbuf_label_destroy, label);
212 mac_label_destroy(label);
220 struct label *src_label, *dest_label;
222 src_label = (struct label *)(src + 1);
223 dest_label = (struct label *)(dest + 1);
240 struct label *src_label, *dest_label;
249 mac_ifnet_label_copy(struct label *src, struct label *dest)
256 mac_ifnet_label_externalize(struct label *label, char *elements,
260 return (MAC_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen));
264 mac_ifnet_label_internalize(struct label *label, char *string)
267 return (MAC_INTERNALIZE(ifnet, label, string));
280 struct label *label;
282 label = mac_bpfdesc_label_get(bpf_d);
283 MAC_PERFORM(bpfdesc_label_associate, cred, bpf_d, label);
289 struct label *label;
292 label = mac_bpfdesc_label_get(bpf_d);
294 MAC_CHECK(bpfdesc_check_receive, bpf_d, label, ifp,
311 sizeof(struct label), flag);
329 struct label *m_label, *b_label;
343 struct label *m_label;
356 struct label *m_label;
370 struct label *oldmbuflabel, *newmbuflabel;
384 struct label *oldmbuflabel, *newmbuflabel;
396 struct label *label;
401 label = mac_mbuf_to_label(mbuf);
405 mbuf, label);
412 struct label *label;
415 label = mac_mbuf_to_label(mbuf);
418 MAC_CHECK(ifnet_check_transmit, ifp, ifp->if_label, mbuf, label,
430 struct label *intlabel;
475 struct label *intlabel;