Lines Matching refs:label
84 struct label;
129 struct label *dlabel, struct ifnet *ifp,
130 struct label *ifplabel);
132 struct bpf_d *d, struct label *dlabel);
134 struct label *dlabel, struct mbuf *m,
135 struct label *mlabel);
136 typedef void (*mpo_bpfdesc_destroy_label_t)(struct label *label);
137 typedef void (*mpo_bpfdesc_init_label_t)(struct label *label);
141 struct label *newlabel);
163 typedef void (*mpo_cred_copy_label_t)(struct label *src,
164 struct label *dest);
167 typedef void (*mpo_cred_destroy_label_t)(struct label *label);
168 typedef int (*mpo_cred_externalize_label_t)(struct label *label,
170 typedef void (*mpo_cred_init_label_t)(struct label *label);
171 typedef int (*mpo_cred_internalize_label_t)(struct label *label,
174 struct label *newlabel);
184 struct devfs_dirent *de, struct label *delabel);
187 struct label *delabel);
190 struct label *ddlabel, struct devfs_dirent *de,
191 struct label *delabel);
192 typedef void (*mpo_devfs_destroy_label_t)(struct label *label);
193 typedef void (*mpo_devfs_init_label_t)(struct label *label);
195 struct devfs_dirent *de, struct label *delabel,
196 struct vnode *vp, struct label *vplabel);
198 struct label *mplabel, struct devfs_dirent *de,
199 struct label *delabel, struct vnode *vp,
200 struct label *vplabel);
203 struct ifnet *ifp, struct label *ifplabel,
204 struct label *newlabel);
206 struct label *ifplabel, struct mbuf *m,
207 struct label *mlabel);
208 typedef void (*mpo_ifnet_copy_label_t)(struct label *src,
209 struct label *dest);
211 struct label *ifplabel);
213 struct label *ifplabel, struct mbuf *m,
214 struct label *mlabel);
215 typedef void (*mpo_ifnet_destroy_label_t)(struct label *label);
216 typedef int (*mpo_ifnet_externalize_label_t)(struct label *label,
218 typedef void (*mpo_ifnet_init_label_t)(struct label *label);
219 typedef int (*mpo_ifnet_internalize_label_t)(struct label *label,
222 struct label *ifplabel, struct label *newlabel);
225 struct label *inplabel, struct mbuf *m,
226 struct label *mlabel);
228 struct inpcb *inp, struct label *inplabel);
230 struct label *solabel, struct inpcb *inp,
231 struct label *inplabel);
233 struct label *inplabel, struct mbuf *m,
234 struct label *mlabel);
235 typedef void (*mpo_inpcb_destroy_label_t)(struct label *label);
236 typedef int (*mpo_inpcb_init_label_t)(struct label *label, int flag);
238 struct label *label, struct inpcb *inp,
239 struct label *inplabel);
241 typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel,
242 struct ip6q *q6, struct label *q6label);
243 typedef void (*mpo_ip6q_destroy_label_t)(struct label *label);
244 typedef int (*mpo_ip6q_init_label_t)(struct label *label, int flag);
245 typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel,
246 struct ip6q *q6, struct label *q6label);
247 typedef void (*mpo_ip6q_reassemble)(struct ip6q *q6, struct label *q6label,
248 struct mbuf *m, struct label *mlabel);
249 typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel,
250 struct ip6q *q6, struct label *q6label);
258 typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel,
259 struct ipq *q, struct label *qlabel);
260 typedef void (*mpo_ipq_destroy_label_t)(struct label *label);
261 typedef int (*mpo_ipq_init_label_t)(struct label *label, int flag);
262 typedef int (*mpo_ipq_match_t)(struct mbuf *m, struct label *mlabel,
263 struct ipq *q, struct label *qlabel);
264 typedef void (*mpo_ipq_reassemble)(struct ipq *q, struct label *qlabel,
265 struct mbuf *m, struct label *mlabel);
266 typedef void (*mpo_ipq_update_t)(struct mbuf *m, struct label *mlabel,
267 struct ipq *q, struct label *qlabel);
278 struct label *vplabel);
281 typedef void (*mpo_mbuf_copy_label_t)(struct label *src,
282 struct label *dest);
283 typedef void (*mpo_mbuf_destroy_label_t)(struct label *label);
284 typedef int (*mpo_mbuf_init_label_t)(struct label *label, int flag);
287 struct mount *mp, struct label *mplabel);
289 struct label *mplabel);
290 typedef void (*mpo_mount_destroy_label_t)(struct label *label);
291 typedef void (*mpo_mount_init_label_t)(struct label *label);
294 struct label *ifplabel, struct mbuf *m,
295 struct label *mlabel);
297 struct label *mrecvlabel, struct mbuf *msend,
298 struct label *msendlabel);
300 struct label *mlabel);
302 struct label *mlabel, struct mbuf *frag,
303 struct label *fraglabel);
305 struct label *mrecvlabel, struct mbuf *msend,
306 struct label *msendlabel);
308 struct label *mlabel);
310 struct label *ifplabel, struct mbuf *m,
311 struct label *mlabel);
313 struct label *mlabel);
316 struct label *ifplabel, struct mbuf *m,
317 struct label *mlabel);
320 struct pipepair *pp, struct label *pplabel,
323 struct pipepair *pp, struct label *pplabel);
325 struct pipepair *pp, struct label *pplabel);
327 struct pipepair *pp, struct label *pplabel,
328 struct label *newlabel);
330 struct pipepair *pp, struct label *pplabel);
332 struct pipepair *pp, struct label *pplabel);
333 typedef void (*mpo_pipe_copy_label_t)(struct label *src,
334 struct label *dest);
336 struct label *pplabel);
337 typedef void (*mpo_pipe_destroy_label_t)(struct label *label);
338 typedef int (*mpo_pipe_externalize_label_t)(struct label *label,
340 typedef void (*mpo_pipe_init_label_t)(struct label *label);
341 typedef int (*mpo_pipe_internalize_label_t)(struct label *label,
344 struct label *oldlabel, struct label *newlabel);
348 struct label *kslabel);
350 struct ksem *ks, struct label *kslabel);
353 struct label *kslabel);
355 struct ksem *ks, struct label *shmlabel,
358 struct ksem *ks, struct label *shmlabel,
362 struct label *kslabel);
364 struct ksem *ks, struct label *kslabel);
367 struct label *kslabel);
369 struct ksem *ks, struct label *kslabel);
370 typedef void (*mpo_posixsem_destroy_label_t)(struct label *label);
371 typedef void (*mpo_posixsem_init_label_t)(struct label *label);
376 struct shmfd *shmfd, struct label *shmlabel, int prot,
379 struct shmfd *shmfd, struct label *shmlabel,
383 struct label *shmlabel);
385 struct shmfd *shmfd, struct label *shmlabel,
388 struct shmfd *shmfd, struct label *shmlabel,
392 struct label *shmlabel);
395 struct label *shmlabel);
397 struct shmfd *shmfd, struct label *shmlabel);
400 struct label *shmlabel);
402 struct shmfd *shmfd, struct label *shmlabel);
403 typedef void (*mpo_posixshm_destroy_label_t)(struct label *label);
404 typedef void (*mpo_posixshm_init_label_t)(struct label *label);
417 typedef void (*mpo_proc_destroy_label_t)(struct label *label);
418 typedef void (*mpo_proc_init_label_t)(struct label *label);
421 struct socket *so, struct label *solabel);
423 struct socket *so, struct label *solabel,
426 struct socket *so, struct label *solabel,
431 struct label *solabel, struct mbuf *m,
432 struct label *mlabel);
434 struct socket *so, struct label *solabel);
436 struct socket *so, struct label *solabel);
438 struct socket *so, struct label *solabel);
440 struct socket *so, struct label *solabel,
441 struct label *newlabel);
443 struct socket *so, struct label *solabel);
445 struct socket *so, struct label *solabel);
447 struct socket *so, struct label *solabel);
448 typedef void (*mpo_socket_copy_label_t)(struct label *src,
449 struct label *dest);
451 struct label *solabel);
453 struct label *solabel, struct mbuf *m,
454 struct label *mlabel);
455 typedef void (*mpo_socket_destroy_label_t)(struct label *label);
456 typedef int (*mpo_socket_externalize_label_t)(struct label *label,
458 typedef int (*mpo_socket_init_label_t)(struct label *label, int flag);
459 typedef int (*mpo_socket_internalize_label_t)(struct label *label,
462 struct label *oldsolabel, struct socket *newso,
463 struct label *newsolabel);
465 struct label *oldlabel, struct label *newlabel);
467 typedef void (*mpo_socketpeer_destroy_label_t)(struct label *label);
468 typedef int (*mpo_socketpeer_externalize_label_t)(struct label *label,
470 typedef int (*mpo_socketpeer_init_label_t)(struct label *label,
473 struct label *mlabel, struct socket *so,
474 struct label *sopeerlabel);
476 struct label *oldsolabel, struct socket *newso,
477 struct label *newsopeerlabel);
479 typedef void (*mpo_syncache_create_t)(struct label *label,
481 typedef void (*mpo_syncache_create_mbuf_t)(struct label *sc_label,
482 struct mbuf *m, struct label *mlabel);
483 typedef void (*mpo_syncache_destroy_label_t)(struct label *label);
484 typedef int (*mpo_syncache_init_label_t)(struct label *label, int flag);
487 struct vnode *vp, struct label *vplabel);
491 struct vnode *vp, struct label *vplabel);
495 struct vnode *vp, struct label *vplabel);
497 struct vnode *vp, struct label *vplabel);
502 typedef void (*mpo_sysvmsg_cleanup_t)(struct label *msglabel);
504 struct msqid_kernel *msqkptr, struct label *msqlabel,
505 struct msg *msgptr, struct label *msglabel);
506 typedef void (*mpo_sysvmsg_destroy_label_t)(struct label *label);
507 typedef void (*mpo_sysvmsg_init_label_t)(struct label *label);
510 struct msg *msgptr, struct label *msglabel,
511 struct msqid_kernel *msqkptr, struct label *msqklabel);
513 struct msg *msgptr, struct label *msglabel);
515 struct msg *msgptr, struct label *msglabel);
517 struct msqid_kernel *msqkptr, struct label *msqklabel);
519 struct msqid_kernel *msqkptr, struct label *msqklabel,
522 struct msqid_kernel *msqkptr, struct label *msqklabel);
524 struct msqid_kernel *msqkptr, struct label *msqklabel);
525 typedef void (*mpo_sysvmsq_cleanup_t)(struct label *msqlabel);
527 struct msqid_kernel *msqkptr, struct label *msqlabel);
528 typedef void (*mpo_sysvmsq_destroy_label_t)(struct label *label);
529 typedef void (*mpo_sysvmsq_init_label_t)(struct label *label);
532 struct semid_kernel *semakptr, struct label *semaklabel,
535 struct semid_kernel *semakptr, struct label *semaklabel);
537 struct semid_kernel *semakptr, struct label *semaklabel,
539 typedef void (*mpo_sysvsem_cleanup_t)(struct label *semalabel);
541 struct semid_kernel *semakptr, struct label *semalabel);
542 typedef void (*mpo_sysvsem_destroy_label_t)(struct label *label);
543 typedef void (*mpo_sysvsem_init_label_t)(struct label *label);
547 struct label *shmseglabel, int shmflg);
550 struct label *shmseglabel, int cmd);
553 struct label *shmseglabel);
556 struct label *shmseglabel, int shmflg);
557 typedef void (*mpo_sysvshm_cleanup_t)(struct label *shmlabel);
559 struct shmid_kernel *shmsegptr, struct label *shmlabel);
560 typedef void (*mpo_sysvshm_destroy_label_t)(struct label *label);
561 typedef void (*mpo_sysvshm_init_label_t)(struct label *label);
566 struct label *mplabel, struct vnode *vp,
567 struct label *vplabel);
569 struct label *mplabel, struct vnode *vp,
570 struct label *vplabel);
572 struct vnode *vp, struct label *vplabel,
575 struct vnode *dvp, struct label *dvplabel);
577 struct vnode *dvp, struct label *dvplabel);
579 struct vnode *dvp, struct label *dvplabel,
582 struct vnode *vp, struct label *vplabel,
585 struct vnode *vp, struct label *vplabel,
588 struct vnode *vp, struct label *vplabel,
589 struct image_params *imgp, struct label *execlabel);
591 struct vnode *vp, struct label *vplabel,
594 struct vnode *vp, struct label *vplabel,
597 struct vnode *dvp, struct label *dvplabel,
598 struct vnode *vp, struct label *vplabel,
601 struct vnode *vp, struct label *vplabel,
604 struct vnode *dvp, struct label *dvplabel,
607 struct vnode *vp, struct label *label, int prot,
610 struct vnode *vp, struct label *vplabel, int *prot);
612 struct vnode *vp, struct label *vplabel, int prot);
614 struct vnode *vp, struct label *vplabel,
618 struct label *vplabel);
621 struct label *vplabel);
623 struct vnode *dvp, struct label *dvplabel);
625 struct vnode *vp, struct label *vplabel);
627 struct vnode *vp, struct label *vplabel,
628 struct label *newlabel);
630 struct vnode *dvp, struct label *dvplabel,
631 struct vnode *vp, struct label *vplabel,
634 struct vnode *dvp, struct label *dvplabel,
635 struct vnode *vp, struct label *vplabel, int samedir,
638 struct vnode *vp, struct label *vplabel);
640 struct vnode *vp, struct label *vplabel, acl_type_t type,
643 struct vnode *vp, struct label *vplabel,
646 struct vnode *vp, struct label *vplabel, u_long flags);
648 struct vnode *vp, struct label *vplabel, mode_t mode);
650 struct vnode *vp, struct label *vplabel, uid_t uid,
653 struct vnode *vp, struct label *vplabel,
657 struct label *vplabel);
659 struct vnode *dvp, struct label *dvplabel,
660 struct vnode *vp, struct label *vplabel,
664 struct label *vplabel);
665 typedef void (*mpo_vnode_copy_label_t)(struct label *src,
666 struct label *dest);
668 struct mount *mp, struct label *mplabel,
669 struct vnode *dvp, struct label *dvplabel,
670 struct vnode *vp, struct label *vplabel,
672 typedef void (*mpo_vnode_destroy_label_t)(struct label *label);
675 struct label *vplabel, struct label *interpvplabel,
676 struct image_params *imgp, struct label *execlabel);
678 struct vnode *vp, struct label *vplabel,
679 struct label *interpvplabel, struct image_params *imgp,
680 struct label *execlabel);
681 typedef int (*mpo_vnode_externalize_label_t)(struct label *label,
683 typedef void (*mpo_vnode_init_label_t)(struct label *label);
684 typedef int (*mpo_vnode_internalize_label_t)(struct label *label,
687 struct label *vplabel, struct label *label);
689 struct vnode *vp, struct label *vplabel,
690 struct label *intlabel);
1064 intptr_t mac_label_get(struct label *l, int slot);
1065 void mac_label_set(struct label *l, int slot, intptr_t v);