Lines Matching full: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);
167 typedef void (*mpo_cred_copy_label_t)(struct label *src,
168 struct label *dest);
171 typedef void (*mpo_cred_destroy_label_t)(struct label *label);
172 typedef int (*mpo_cred_externalize_label_t)(struct label *label,
174 typedef void (*mpo_cred_init_label_t)(struct label *label);
175 typedef int (*mpo_cred_internalize_label_t)(struct label *label,
178 struct label *newlabel);
188 struct devfs_dirent *de, struct label *delabel);
191 struct label *delabel);
194 struct label *ddlabel, struct devfs_dirent *de,
195 struct label *delabel);
196 typedef void (*mpo_devfs_destroy_label_t)(struct label *label);
197 typedef void (*mpo_devfs_init_label_t)(struct label *label);
199 struct devfs_dirent *de, struct label *delabel,
200 struct vnode *vp, struct label *vplabel);
202 struct label *mplabel, struct devfs_dirent *de,
203 struct label *delabel, struct vnode *vp,
204 struct label *vplabel);
207 struct ifnet *ifp, struct label *ifplabel,
208 struct label *newlabel);
210 struct label *ifplabel, struct mbuf *m,
211 struct label *mlabel);
212 typedef void (*mpo_ifnet_copy_label_t)(struct label *src,
213 struct label *dest);
215 struct label *ifplabel);
217 struct label *ifplabel, struct mbuf *m,
218 struct label *mlabel);
219 typedef void (*mpo_ifnet_destroy_label_t)(struct label *label);
220 typedef int (*mpo_ifnet_externalize_label_t)(struct label *label,
222 typedef void (*mpo_ifnet_init_label_t)(struct label *label);
223 typedef int (*mpo_ifnet_internalize_label_t)(struct label *label,
226 struct label *ifplabel, struct label *newlabel);
229 struct label *inplabel, struct mbuf *m,
230 struct label *mlabel);
232 struct inpcb *inp, struct label *inplabel);
234 struct label *solabel, struct inpcb *inp,
235 struct label *inplabel);
237 struct label *inplabel, struct mbuf *m,
238 struct label *mlabel);
239 typedef void (*mpo_inpcb_destroy_label_t)(struct label *label);
240 typedef int (*mpo_inpcb_init_label_t)(struct label *label, int flag);
242 struct label *label, struct inpcb *inp,
243 struct label *inplabel);
245 typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel,
246 struct ip6q *q6, struct label *q6label);
247 typedef void (*mpo_ip6q_destroy_label_t)(struct label *label);
248 typedef int (*mpo_ip6q_init_label_t)(struct label *label, int flag);
249 typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel,
250 struct ip6q *q6, struct label *q6label);
251 typedef void (*mpo_ip6q_reassemble)(struct ip6q *q6, struct label *q6label,
252 struct mbuf *m, struct label *mlabel);
253 typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel,
254 struct ip6q *q6, struct label *q6label);
262 typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel,
263 struct ipq *q, struct label *qlabel);
264 typedef void (*mpo_ipq_destroy_label_t)(struct label *label);
265 typedef int (*mpo_ipq_init_label_t)(struct label *label, int flag);
266 typedef int (*mpo_ipq_match_t)(struct mbuf *m, struct label *mlabel,
267 struct ipq *q, struct label *qlabel);
268 typedef void (*mpo_ipq_reassemble)(struct ipq *q, struct label *qlabel,
269 struct mbuf *m, struct label *mlabel);
270 typedef void (*mpo_ipq_update_t)(struct mbuf *m, struct label *mlabel,
271 struct ipq *q, struct label *qlabel);
282 struct label *vplabel);
285 typedef void (*mpo_mbuf_copy_label_t)(struct label *src,
286 struct label *dest);
287 typedef void (*mpo_mbuf_destroy_label_t)(struct label *label);
288 typedef int (*mpo_mbuf_init_label_t)(struct label *label, int flag);
291 struct mount *mp, struct label *mplabel);
293 struct label *mplabel);
294 typedef void (*mpo_mount_destroy_label_t)(struct label *label);
295 typedef void (*mpo_mount_init_label_t)(struct label *label);
298 struct label *ifplabel, struct mbuf *m,
299 struct label *mlabel);
301 struct label *mrecvlabel, struct mbuf *msend,
302 struct label *msendlabel);
304 struct label *mlabel);
306 struct label *mlabel, struct mbuf *frag,
307 struct label *fraglabel);
309 struct label *mrecvlabel, struct mbuf *msend,
310 struct label *msendlabel);
312 struct label *mlabel);
314 struct label *ifplabel, struct mbuf *m,
315 struct label *mlabel);
317 struct label *mlabel);
320 struct label *ifplabel, struct mbuf *m,
321 struct label *mlabel);
324 struct pipepair *pp, struct label *pplabel,
327 struct pipepair *pp, struct label *pplabel);
329 struct pipepair *pp, struct label *pplabel);
331 struct pipepair *pp, struct label *pplabel,
332 struct label *newlabel);
334 struct pipepair *pp, struct label *pplabel);
336 struct pipepair *pp, struct label *pplabel);
337 typedef void (*mpo_pipe_copy_label_t)(struct label *src,
338 struct label *dest);
340 struct label *pplabel);
341 typedef void (*mpo_pipe_destroy_label_t)(struct label *label);
342 typedef int (*mpo_pipe_externalize_label_t)(struct label *label,
344 typedef void (*mpo_pipe_init_label_t)(struct label *label);
345 typedef int (*mpo_pipe_internalize_label_t)(struct label *label,
348 struct label *oldlabel, struct label *newlabel);
352 struct label *kslabel);
354 struct ksem *ks, struct label *kslabel);
357 struct label *kslabel);
359 struct ksem *ks, struct label *shmlabel,
362 struct ksem *ks, struct label *shmlabel,
366 struct label *kslabel);
368 struct ksem *ks, struct label *kslabel);
371 struct label *kslabel);
373 struct ksem *ks, struct label *kslabel);
374 typedef void (*mpo_posixsem_destroy_label_t)(struct label *label);
375 typedef void (*mpo_posixsem_init_label_t)(struct label *label);
380 struct shmfd *shmfd, struct label *shmlabel, int prot,
383 struct shmfd *shmfd, struct label *shmlabel,
387 struct label *shmlabel);
389 struct shmfd *shmfd, struct label *shmlabel,
392 struct shmfd *shmfd, struct label *shmlabel,
396 struct label *shmlabel);
399 struct label *shmlabel);
401 struct shmfd *shmfd, struct label *shmlabel);
404 struct label *shmlabel);
406 struct shmfd *shmfd, struct label *shmlabel);
407 typedef void (*mpo_posixshm_destroy_label_t)(struct label *label);
408 typedef void (*mpo_posixshm_init_label_t)(struct label *label);
421 typedef void (*mpo_proc_destroy_label_t)(struct label *label);
422 typedef void (*mpo_proc_init_label_t)(struct label *label);
425 struct socket *so, struct label *solabel);
427 struct socket *so, struct label *solabel,
430 struct socket *so, struct label *solabel,
435 struct label *solabel, struct mbuf *m,
436 struct label *mlabel);
438 struct socket *so, struct label *solabel);
440 struct socket *so, struct label *solabel);
442 struct socket *so, struct label *solabel);
444 struct socket *so, struct label *solabel,
445 struct label *newlabel);
447 struct socket *so, struct label *solabel);
449 struct socket *so, struct label *solabel);
451 struct socket *so, struct label *solabel);
452 typedef void (*mpo_socket_copy_label_t)(struct label *src,
453 struct label *dest);
455 struct label *solabel);
457 struct label *solabel, struct mbuf *m,
458 struct label *mlabel);
459 typedef void (*mpo_socket_destroy_label_t)(struct label *label);
460 typedef int (*mpo_socket_externalize_label_t)(struct label *label,
462 typedef int (*mpo_socket_init_label_t)(struct label *label, int flag);
463 typedef int (*mpo_socket_internalize_label_t)(struct label *label,
466 struct label *oldsolabel, struct socket *newso,
467 struct label *newsolabel);
469 struct label *oldlabel, struct label *newlabel);
471 typedef void (*mpo_socketpeer_destroy_label_t)(struct label *label);
472 typedef int (*mpo_socketpeer_externalize_label_t)(struct label *label,
474 typedef int (*mpo_socketpeer_init_label_t)(struct label *label,
477 struct label *mlabel, struct socket *so,
478 struct label *sopeerlabel);
480 struct label *oldsolabel, struct socket *newso,
481 struct label *newsopeerlabel);
483 typedef void (*mpo_syncache_create_t)(struct label *label,
485 typedef void (*mpo_syncache_create_mbuf_t)(struct label *sc_label,
486 struct mbuf *m, struct label *mlabel);
487 typedef void (*mpo_syncache_destroy_label_t)(struct label *label);
488 typedef int (*mpo_syncache_init_label_t)(struct label *label, int flag);
491 struct vnode *vp, struct label *vplabel);
495 struct vnode *vp, struct label *vplabel);
499 struct vnode *vp, struct label *vplabel);
501 struct vnode *vp, struct label *vplabel);
506 typedef void (*mpo_sysvmsg_cleanup_t)(struct label *msglabel);
508 struct msqid_kernel *msqkptr, struct label *msqlabel,
509 struct msg *msgptr, struct label *msglabel);
510 typedef void (*mpo_sysvmsg_destroy_label_t)(struct label *label);
511 typedef void (*mpo_sysvmsg_init_label_t)(struct label *label);
514 struct msg *msgptr, struct label *msglabel,
515 struct msqid_kernel *msqkptr, struct label *msqklabel);
517 struct msg *msgptr, struct label *msglabel);
519 struct msg *msgptr, struct label *msglabel);
521 struct msqid_kernel *msqkptr, struct label *msqklabel);
523 struct msqid_kernel *msqkptr, struct label *msqklabel,
526 struct msqid_kernel *msqkptr, struct label *msqklabel);
528 struct msqid_kernel *msqkptr, struct label *msqklabel);
529 typedef void (*mpo_sysvmsq_cleanup_t)(struct label *msqlabel);
531 struct msqid_kernel *msqkptr, struct label *msqlabel);
532 typedef void (*mpo_sysvmsq_destroy_label_t)(struct label *label);
533 typedef void (*mpo_sysvmsq_init_label_t)(struct label *label);
536 struct semid_kernel *semakptr, struct label *semaklabel,
539 struct semid_kernel *semakptr, struct label *semaklabel);
541 struct semid_kernel *semakptr, struct label *semaklabel,
543 typedef void (*mpo_sysvsem_cleanup_t)(struct label *semalabel);
545 struct semid_kernel *semakptr, struct label *semalabel);
546 typedef void (*mpo_sysvsem_destroy_label_t)(struct label *label);
547 typedef void (*mpo_sysvsem_init_label_t)(struct label *label);
551 struct label *shmseglabel, int shmflg);
554 struct label *shmseglabel, int cmd);
557 struct label *shmseglabel);
560 struct label *shmseglabel, int shmflg);
561 typedef void (*mpo_sysvshm_cleanup_t)(struct label *shmlabel);
563 struct shmid_kernel *shmsegptr, struct label *shmlabel);
564 typedef void (*mpo_sysvshm_destroy_label_t)(struct label *label);
565 typedef void (*mpo_sysvshm_init_label_t)(struct label *label);
570 struct label *mplabel, struct vnode *vp,
571 struct label *vplabel);
573 struct label *mplabel, struct vnode *vp,
574 struct label *vplabel);
576 struct vnode *vp, struct label *vplabel,
579 struct vnode *dvp, struct label *dvplabel);
581 struct vnode *dvp, struct label *dvplabel);
583 struct vnode *dvp, struct label *dvplabel,
586 struct vnode *vp, struct label *vplabel,
589 struct vnode *vp, struct label *vplabel,
592 struct vnode *vp, struct label *vplabel,
593 struct image_params *imgp, struct label *execlabel);
595 struct vnode *vp, struct label *vplabel,
598 struct vnode *vp, struct label *vplabel,
601 struct vnode *dvp, struct label *dvplabel,
602 struct vnode *vp, struct label *vplabel,
605 struct vnode *vp, struct label *vplabel,
608 struct vnode *dvp, struct label *dvplabel,
611 struct vnode *vp, struct label *label, int prot,
614 struct vnode *vp, struct label *vplabel, int *prot);
616 struct vnode *vp, struct label *vplabel, int prot);
618 struct vnode *vp, struct label *vplabel,
622 struct label *vplabel);
625 struct label *vplabel);
627 struct vnode *dvp, struct label *dvplabel);
629 struct vnode *vp, struct label *vplabel);
631 struct vnode *vp, struct label *vplabel,
632 struct label *newlabel);
634 struct vnode *dvp, struct label *dvplabel,
635 struct vnode *vp, struct label *vplabel,
638 struct vnode *dvp, struct label *dvplabel,
639 struct vnode *vp, struct label *vplabel, int samedir,
642 struct vnode *vp, struct label *vplabel);
644 struct vnode *vp, struct label *vplabel, acl_type_t type,
647 struct vnode *vp, struct label *vplabel,
650 struct vnode *vp, struct label *vplabel, u_long flags);
652 struct vnode *vp, struct label *vplabel, mode_t mode);
654 struct vnode *vp, struct label *vplabel, uid_t uid,
657 struct vnode *vp, struct label *vplabel,
661 struct label *vplabel);
663 struct vnode *dvp, struct label *dvplabel,
664 struct vnode *vp, struct label *vplabel,
668 struct label *vplabel);
669 typedef void (*mpo_vnode_copy_label_t)(struct label *src,
670 struct label *dest);
672 struct mount *mp, struct label *mplabel,
673 struct vnode *dvp, struct label *dvplabel,
674 struct vnode *vp, struct label *vplabel,
676 typedef void (*mpo_vnode_destroy_label_t)(struct label *label);
679 struct label *vplabel, struct label *interpvplabel,
680 struct image_params *imgp, struct label *execlabel);
682 struct vnode *vp, struct label *vplabel,
683 struct label *interpvplabel, struct image_params *imgp,
684 struct label *execlabel);
685 typedef int (*mpo_vnode_externalize_label_t)(struct label *label,
687 typedef void (*mpo_vnode_init_label_t)(struct label *label);
688 typedef int (*mpo_vnode_internalize_label_t)(struct label *label,
691 struct label *vplabel, struct label *label);
693 struct vnode *vp, struct label *vplabel,
694 struct label *intlabel);
711 * Label operations. Initialize label storage, destroy label
712 * storage, recycle for re-use without init/destroy, copy a label to
1068 * Policy interface to map a struct label pointer to per-policy data.
1072 intptr_t mac_label_get(struct label *l, int slot);
1073 void mac_label_set(struct label *l, int slot, intptr_t v);