Lines Matching full:label
122 * Label operations.
125 stub_init_label(struct label *label) in stub_init_label() argument
131 stub_init_label_waitcheck(struct label *label, int flag) in stub_init_label_waitcheck() argument
138 stub_destroy_label(struct label *label) in stub_destroy_label() argument
144 stub_copy_label(struct label *src, struct label *dest) in stub_copy_label()
150 stub_externalize_label(struct label *label, char *element_name, in stub_externalize_label() argument
158 stub_internalize_label(struct label *label, char *element_name, in stub_internalize_label() argument
170 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_check_receive()
171 struct ifnet *ifp, struct label *ifplabel) in stub_bpfdesc_check_receive()
179 struct label *dlabel) in stub_bpfdesc_create()
185 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_create_mbuf()
186 struct mbuf *m, struct label *mlabel) in stub_bpfdesc_create_mbuf()
198 stub_cred_check_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_check_relabel()
328 stub_cred_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_relabel()
351 struct cdev *dev, struct devfs_dirent *de, struct label *delabel) in stub_devfs_create_device()
358 int dirnamelen, struct devfs_dirent *de, struct label *delabel) in stub_devfs_create_directory()
365 struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de, in stub_devfs_create_symlink()
366 struct label *delabel) in stub_devfs_create_symlink()
373 struct label *delabel, struct vnode *vp, struct label *vplabel) in stub_devfs_update()
379 stub_devfs_vnode_associate(struct mount *mp, struct label *mplabel, in stub_devfs_vnode_associate()
380 struct devfs_dirent *de, struct label *delabel, struct vnode *vp, in stub_devfs_vnode_associate()
381 struct label *vplabel) in stub_devfs_vnode_associate()
388 struct label *ifplabel, struct label *newlabel) in stub_ifnet_check_relabel()
395 stub_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel, in stub_ifnet_check_transmit()
396 struct mbuf *m, struct label *mlabel) in stub_ifnet_check_transmit()
403 stub_ifnet_create(struct ifnet *ifp, struct label *ifplabel) in stub_ifnet_create()
409 stub_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel, in stub_ifnet_create_mbuf()
410 struct mbuf *m, struct label *mlabel) in stub_ifnet_create_mbuf()
417 struct label *ifplabel, struct label *newlabel) in stub_ifnet_relabel()
423 stub_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel, in stub_inpcb_check_deliver()
424 struct mbuf *m, struct label *mlabel) in stub_inpcb_check_deliver()
431 stub_inpcb_create(struct socket *so, struct label *solabel, in stub_inpcb_create()
432 struct inpcb *inp, struct label *inplabel) in stub_inpcb_create()
438 stub_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel, in stub_inpcb_create_mbuf()
439 struct mbuf *m, struct label *mlabel) in stub_inpcb_create_mbuf()
445 stub_inpcb_sosetlabel(struct socket *so, struct label *solabel, in stub_inpcb_sosetlabel()
446 struct inpcb *inp, struct label *inplabel) in stub_inpcb_sosetlabel()
454 stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_create()
455 struct label *q6label) in stub_ip6q_create()
461 stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_match()
462 struct label *q6label) in stub_ip6q_match()
469 stub_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m, in stub_ip6q_reassemble()
470 struct label *mlabel) in stub_ip6q_reassemble()
476 stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_update()
477 struct label *q6label) in stub_ip6q_update()
483 stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_create()
484 struct label *qlabel) in stub_ipq_create()
490 stub_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_match()
491 struct label *qlabel) in stub_ipq_match()
498 stub_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m, in stub_ipq_reassemble()
499 struct label *mlabel) in stub_ipq_reassemble()
505 stub_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_update()
506 struct label *qlabel) in stub_ipq_update()
548 struct label *vplabel) in stub_kld_check_load()
563 struct label *mplabel) in stub_mount_check_stat()
571 struct label *mplabel) in stub_mount_create()
577 stub_netinet_arp_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet_arp_send()
578 struct mbuf *m, struct label *mlabel) in stub_netinet_arp_send()
584 stub_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel, in stub_netinet_firewall_reply()
585 struct mbuf *msend, struct label *msendlabel) in stub_netinet_firewall_reply()
591 stub_netinet_firewall_send(struct mbuf *m, struct label *mlabel) in stub_netinet_firewall_send()
597 stub_netinet_fragment(struct mbuf *m, struct label *mlabel, struct mbuf *frag, in stub_netinet_fragment()
598 struct label *fraglabel) in stub_netinet_fragment()
604 stub_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel, in stub_netinet_icmp_reply()
605 struct mbuf *msend, struct label *msendlabel) in stub_netinet_icmp_reply()
611 stub_netinet_icmp_replyinplace(struct mbuf *m, struct label *mlabel) in stub_netinet_icmp_replyinplace()
617 stub_netinet_igmp_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet_igmp_send()
618 struct mbuf *m, struct label *mlabel) in stub_netinet_igmp_send()
624 stub_netinet_tcp_reply(struct mbuf *m, struct label *mlabel) in stub_netinet_tcp_reply()
630 stub_netinet6_nd6_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet6_nd6_send()
631 struct mbuf *m, struct label *mlabel) in stub_netinet6_nd6_send()
638 struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data) in stub_pipe_check_ioctl()
646 struct label *pplabel) in stub_pipe_check_poll()
654 struct label *pplabel) in stub_pipe_check_read()
662 struct label *pplabel, struct label *newlabel) in stub_pipe_check_relabel()
670 struct label *pplabel) in stub_pipe_check_stat()
678 struct label *pplabel) in stub_pipe_check_write()
686 struct label *pplabel) in stub_pipe_create()
693 struct label *pplabel, struct label *newlabel) in stub_pipe_relabel()
700 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_getvalue()
708 struct label *kslabel) in stub_posixsem_check_open()
716 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_post()
724 struct label *kslabel, mode_t mode) in stub_posixsem_check_setmode()
732 struct label *kslabel, uid_t uid, gid_t gid) in stub_posixsem_check_setowner()
740 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_stat()
748 struct label *kslabel) in stub_posixsem_check_unlink()
756 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_wait()
764 struct label *kslabel) in stub_posixsem_create()
778 struct label *shmlabel, int prot, int flags) in stub_posixshm_check_mmap()
786 struct label *shmlabel, accmode_t accmode) in stub_posixshm_check_open()
794 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_read()
802 struct label *shmlabel, mode_t mode) in stub_posixshm_check_setmode()
810 struct label *shmlabel, uid_t uid, gid_t gid) in stub_posixshm_check_setowner()
818 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat()
826 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate()
834 struct label *shmlabel) in stub_posixshm_check_unlink()
842 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_write()
850 struct label *shmlabel) in stub_posixshm_create()
899 struct label *solabel) in stub_socket_check_accept()
912 struct label *solabel, struct sockaddr *sa) in stub_socket_check_bind()
925 struct label *solabel, struct sockaddr *sa) in stub_socket_check_connect()
944 stub_socket_check_deliver(struct socket *so, struct label *solabel, in stub_socket_check_deliver()
945 struct mbuf *m, struct label *mlabel) in stub_socket_check_deliver()
958 struct label *solabel) in stub_socket_check_listen()
971 struct label *solabel) in stub_socket_check_poll()
984 struct label *solabel) in stub_socket_check_receive()
997 struct label *solabel, struct label *newlabel) in stub_socket_check_relabel()
1006 struct label *solabel) in stub_socket_check_send()
1019 struct label *solabel) in stub_socket_check_stat()
1032 struct label *inplabel) in stub_inpcb_check_visible()
1040 struct label *solabel) in stub_socket_check_visible()
1053 struct label *solabel) in stub_socket_create()
1059 stub_socket_create_mbuf(struct socket *so, struct label *solabel, in stub_socket_create_mbuf()
1060 struct mbuf *m, struct label *mlabel) in stub_socket_create_mbuf()
1070 stub_socket_newconn(struct socket *oldso, struct label *oldsolabel, in stub_socket_newconn()
1071 struct socket *newso, struct label *newsolabel) in stub_socket_newconn()
1086 struct label *solabel, struct label *newlabel) in stub_socket_relabel()
1093 stub_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel, in stub_socketpeer_set_from_mbuf()
1094 struct socket *so, struct label *sopeerlabel) in stub_socketpeer_set_from_mbuf()
1105 struct label *oldsolabel, struct socket *newso, in stub_socketpeer_set_from_socket()
1106 struct label *newsopeerlabel) in stub_socketpeer_set_from_socket()
1120 stub_syncache_create(struct label *label, struct inpcb *inp) in stub_syncache_create() argument
1126 stub_syncache_create_mbuf(struct label *sc_label, struct mbuf *m, in stub_syncache_create_mbuf()
1127 struct label *mlabel) in stub_syncache_create_mbuf()
1134 struct label *vplabel) in stub_system_check_acct()
1149 struct label *vplabel) in stub_system_check_auditctl()
1171 struct label *vplabel) in stub_system_check_swapoff()
1179 struct label *vplabel) in stub_system_check_swapon()
1194 stub_sysvmsg_cleanup(struct label *msglabel) in stub_sysvmsg_cleanup()
1201 struct label *msqlabel, struct msg *msgptr, struct label *msglabel) in stub_sysvmsg_create()
1208 struct label *msglabel, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msgmsq()
1209 struct label *msqklabel) in stub_sysvmsq_check_msgmsq()
1217 struct label *msglabel) in stub_sysvmsq_check_msgrcv()
1225 struct label *msglabel) in stub_sysvmsq_check_msgrmid()
1233 struct label *msqklabel) in stub_sysvmsq_check_msqget()
1241 struct label *msqklabel) in stub_sysvmsq_check_msqsnd()
1249 struct label *msqklabel) in stub_sysvmsq_check_msqrcv()
1257 struct label *msqklabel, int cmd) in stub_sysvmsq_check_msqctl()
1264 stub_sysvmsq_cleanup(struct label *msqlabel) in stub_sysvmsq_cleanup()
1271 struct label *msqlabel) in stub_sysvmsq_create()
1278 struct label *semaklabel, int cmd) in stub_sysvsem_check_semctl()
1286 struct label *semaklabel) in stub_sysvsem_check_semget()
1294 struct label *semaklabel, size_t accesstype) in stub_sysvsem_check_semop()
1301 stub_sysvsem_cleanup(struct label *semalabel) in stub_sysvsem_cleanup()
1308 struct label *semalabel) in stub_sysvsem_create()
1315 struct label *shmseglabel, int shmflg) in stub_sysvshm_check_shmat()
1323 struct label *shmseglabel, int cmd) in stub_sysvshm_check_shmctl()
1331 struct label *shmseglabel) in stub_sysvshm_check_shmdt()
1339 struct label *shmseglabel, int shmflg) in stub_sysvshm_check_shmget()
1346 stub_sysvshm_cleanup(struct label *shmlabel) in stub_sysvshm_cleanup()
1353 struct label *shmalabel) in stub_sysvshm_create()
1365 stub_vnode_associate_extattr(struct mount *mp, struct label *mplabel, in stub_vnode_associate_extattr()
1366 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr()
1373 stub_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel, in stub_vnode_associate_singlelabel()
1374 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel()
1381 struct label *vplabel, accmode_t accmode) in stub_vnode_check_access()
1389 struct label *dvplabel) in stub_vnode_check_chdir()
1397 struct label *dvplabel) in stub_vnode_check_chroot()
1405 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in stub_vnode_check_create()
1413 struct label *vplabel, acl_type_t type) in stub_vnode_check_deleteacl()
1421 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_deleteextattr()
1429 struct label *vplabel, struct image_params *imgp, in stub_vnode_check_exec()
1430 struct label *execlabel) in stub_vnode_check_exec()
1438 struct label *vplabel, acl_type_t type) in stub_vnode_check_getacl()
1446 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_getextattr()
1454 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_link()
1463 struct label *vplabel, int attrnamespace) in stub_vnode_check_listextattr()
1471 struct label *dvplabel, struct componentname *cnp) in stub_vnode_check_lookup()
1479 struct label *vplabel, int prot, int flags) in stub_vnode_check_mmap()
1487 struct label *vplabel, int *prot) in stub_vnode_check_mmap_downgrade()
1494 struct label *vplabel, int prot) in stub_vnode_check_mprotect()
1502 struct label *vplabel, accmode_t accmode) in stub_vnode_check_open()
1510 struct vnode *vp, struct label *vplabel) in stub_vnode_check_poll()
1518 struct vnode *vp, struct label *vplabel) in stub_vnode_check_read()
1526 struct label *dvplabel) in stub_vnode_check_readdir()
1534 struct label *vplabel) in stub_vnode_check_readlink()
1542 struct label *vplabel, struct label *newlabel) in stub_vnode_check_relabel()
1550 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_rename_from()
1559 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_rename_to()
1568 struct label *vplabel) in stub_vnode_check_revoke()
1576 struct label *vplabel, acl_type_t type, struct acl *acl) in stub_vnode_check_setacl()
1584 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_setextattr()
1592 struct label *vplabel, u_long flags) in stub_vnode_check_setflags()
1600 struct label *vplabel, mode_t mode) in stub_vnode_check_setmode()
1608 struct label *vplabel, uid_t uid, gid_t gid) in stub_vnode_check_setowner()
1616 struct label *vplabel, struct timespec atime, struct timespec mtime) in stub_vnode_check_setutimes()
1624 struct vnode *vp, struct label *vplabel) in stub_vnode_check_stat()
1632 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_unlink()
1641 struct vnode *vp, struct label *vplabel) in stub_vnode_check_write()
1649 struct label *mntlabel, struct vnode *dvp, struct label *dvplabel, in stub_vnode_create_extattr()
1650 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in stub_vnode_create_extattr()
1658 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_transition()
1659 struct image_params *imgp, struct label *execlabel) in stub_vnode_execve_transition()
1666 struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_will_transition()
1667 struct image_params *imgp, struct label *execlabel) in stub_vnode_execve_will_transition()
1675 struct label *vplabel, struct label *label) in stub_vnode_relabel() argument
1682 struct label *vplabel, struct label *intlabel) in stub_vnode_setlabel_extattr()