Lines Matching refs:SLOT

134 #define	SLOT(l)	((struct mac_biba *)mac_label_get((l), biba_slot))  macro
518 if (SLOT(label) == NULL) in biba_init_label_waitcheck()
528 biba_free(SLOT(label)); in biba_destroy_label()
626 mb = SLOT(label); in biba_externalize_label()
755 mb = SLOT(label); in biba_internalize_label()
765 *SLOT(dest) = *SLOT(src); in biba_copy_label()
781 a = SLOT(dlabel); in biba_bpfdesc_check_receive()
782 b = SLOT(ifplabel); in biba_bpfdesc_check_receive()
795 source = SLOT(cred->cr_label); in biba_bpfdesc_create()
796 dest = SLOT(dlabel); in biba_bpfdesc_create()
807 source = SLOT(dlabel); in biba_bpfdesc_create_mbuf()
808 dest = SLOT(mlabel); in biba_bpfdesc_create_mbuf()
818 label = SLOT(cred->cr_label); in biba_cred_associate_nfsd()
830 subj = SLOT(cred->cr_label); in biba_cred_check_relabel()
831 new = SLOT(newlabel); in biba_cred_check_relabel()
893 subj = SLOT(u1->cr_label); in biba_cred_check_visible()
894 obj = SLOT(u2->cr_label); in biba_cred_check_visible()
908 dest = SLOT(cred->cr_label); in biba_cred_create_init()
920 dest = SLOT(cred->cr_label); in biba_cred_create_swapper()
932 source = SLOT(newlabel); in biba_cred_relabel()
933 dest = SLOT(cred->cr_label); in biba_cred_relabel()
946 mb = SLOT(delabel); in biba_devfs_create_device()
969 mb = SLOT(delabel); in biba_devfs_create_directory()
981 source = SLOT(cred->cr_label); in biba_devfs_create_symlink()
982 dest = SLOT(delabel); in biba_devfs_create_symlink()
993 source = SLOT(vplabel); in biba_devfs_update()
994 dest = SLOT(delabel); in biba_devfs_update()
1006 source = SLOT(delabel); in biba_devfs_vnode_associate()
1007 dest = SLOT(vplabel); in biba_devfs_vnode_associate()
1019 subj = SLOT(cred->cr_label); in biba_ifnet_check_relabel()
1020 new = SLOT(newlabel); in biba_ifnet_check_relabel()
1049 p = SLOT(mlabel); in biba_ifnet_check_transmit()
1050 i = SLOT(ifplabel); in biba_ifnet_check_transmit()
1063 dest = SLOT(ifplabel); in biba_ifnet_create()
1118 source = SLOT(ifplabel); in biba_ifnet_create_mbuf()
1119 dest = SLOT(mlabel); in biba_ifnet_create_mbuf()
1130 source = SLOT(newlabel); in biba_ifnet_relabel()
1131 dest = SLOT(ifplabel); in biba_ifnet_relabel()
1145 p = SLOT(mlabel); in biba_inpcb_check_deliver()
1146 i = SLOT(inplabel); in biba_inpcb_check_deliver()
1160 subj = SLOT(cred->cr_label); in biba_inpcb_check_visible()
1161 obj = SLOT(inplabel); in biba_inpcb_check_visible()
1175 source = SLOT(solabel); in biba_inpcb_create()
1176 dest = SLOT(inplabel); in biba_inpcb_create()
1189 source = SLOT(inplabel); in biba_inpcb_create_mbuf()
1190 dest = SLOT(mlabel); in biba_inpcb_create_mbuf()
1203 source = SLOT(solabel); in biba_inpcb_sosetlabel()
1204 dest = SLOT(inplabel); in biba_inpcb_sosetlabel()
1215 source = SLOT(mlabel); in biba_ip6q_create()
1216 dest = SLOT(q6label); in biba_ip6q_create()
1227 a = SLOT(q6label); in biba_ip6q_match()
1228 b = SLOT(mlabel); in biba_ip6q_match()
1239 source = SLOT(q6label); in biba_ip6q_reassemble()
1240 dest = SLOT(mlabel); in biba_ip6q_reassemble()
1260 source = SLOT(mlabel); in biba_ipq_create()
1261 dest = SLOT(qlabel); in biba_ipq_create()
1272 a = SLOT(qlabel); in biba_ipq_match()
1273 b = SLOT(mlabel); in biba_ipq_match()
1284 source = SLOT(qlabel); in biba_ipq_reassemble()
1285 dest = SLOT(mlabel); in biba_ipq_reassemble()
1309 subj = SLOT(cred->cr_label); in biba_kld_check_load()
1315 obj = SLOT(vplabel); in biba_kld_check_load()
1331 subj = SLOT(cred->cr_label); in biba_mount_check_stat()
1332 obj = SLOT(mplabel); in biba_mount_check_stat()
1346 source = SLOT(cred->cr_label); in biba_mount_create()
1347 dest = SLOT(mplabel); in biba_mount_create()
1358 dest = SLOT(mlabel); in biba_netinet_arp_send()
1369 source = SLOT(mrecvlabel); in biba_netinet_firewall_reply()
1370 dest = SLOT(msendlabel); in biba_netinet_firewall_reply()
1380 dest = SLOT(mlabel); in biba_netinet_firewall_send()
1392 source = SLOT(mlabel); in biba_netinet_fragment()
1393 dest = SLOT(fraglabel); in biba_netinet_fragment()
1404 source = SLOT(mrecvlabel); in biba_netinet_icmp_reply()
1405 dest = SLOT(msendlabel); in biba_netinet_icmp_reply()
1416 dest = SLOT(mlabel); in biba_netinet_igmp_send()
1427 dest = SLOT(mlabel); in biba_netinet6_nd6_send()
1454 subj = SLOT(cred->cr_label); in biba_pipe_check_poll()
1455 obj = SLOT(pplabel); in biba_pipe_check_poll()
1472 subj = SLOT(cred->cr_label); in biba_pipe_check_read()
1473 obj = SLOT(pplabel); in biba_pipe_check_read()
1488 new = SLOT(newlabel); in biba_pipe_check_relabel()
1489 subj = SLOT(cred->cr_label); in biba_pipe_check_relabel()
1490 obj = SLOT(pplabel); in biba_pipe_check_relabel()
1541 subj = SLOT(cred->cr_label); in biba_pipe_check_stat()
1542 obj = SLOT(pplabel); in biba_pipe_check_stat()
1559 subj = SLOT(cred->cr_label); in biba_pipe_check_write()
1560 obj = SLOT(pplabel); in biba_pipe_check_write()
1574 source = SLOT(cred->cr_label); in biba_pipe_create()
1575 dest = SLOT(pplabel); in biba_pipe_create()
1586 source = SLOT(newlabel); in biba_pipe_relabel()
1587 dest = SLOT(pplabel); in biba_pipe_relabel()
1601 subj = SLOT(cred->cr_label); in biba_posixsem_check_openunlink()
1602 obj = SLOT(kslabel); in biba_posixsem_check_openunlink()
1619 subj = SLOT(cred->cr_label); in biba_posixsem_check_setmode()
1620 obj = SLOT(kslabel); in biba_posixsem_check_setmode()
1637 subj = SLOT(cred->cr_label); in biba_posixsem_check_setowner()
1638 obj = SLOT(kslabel); in biba_posixsem_check_setowner()
1655 subj = SLOT(active_cred->cr_label); in biba_posixsem_check_write()
1656 obj = SLOT(kslabel); in biba_posixsem_check_write()
1673 subj = SLOT(active_cred->cr_label); in biba_posixsem_check_rdonly()
1674 obj = SLOT(kslabel); in biba_posixsem_check_rdonly()
1688 source = SLOT(cred->cr_label); in biba_posixsem_create()
1689 dest = SLOT(kslabel); in biba_posixsem_create()
1703 subj = SLOT(cred->cr_label); in biba_posixshm_check_mmap()
1704 obj = SLOT(shmlabel); in biba_posixshm_check_mmap()
1727 subj = SLOT(cred->cr_label); in biba_posixshm_check_open()
1728 obj = SLOT(shmlabel); in biba_posixshm_check_open()
1751 subj = SLOT(active_cred->cr_label); in biba_posixshm_check_read()
1752 obj = SLOT(shmlabel); in biba_posixshm_check_read()
1769 subj = SLOT(cred->cr_label); in biba_posixshm_check_setmode()
1770 obj = SLOT(shmlabel); in biba_posixshm_check_setmode()
1787 subj = SLOT(cred->cr_label); in biba_posixshm_check_setowner()
1788 obj = SLOT(shmlabel); in biba_posixshm_check_setowner()
1805 subj = SLOT(active_cred->cr_label); in biba_posixshm_check_stat()
1806 obj = SLOT(shmlabel); in biba_posixshm_check_stat()
1823 subj = SLOT(active_cred->cr_label); in biba_posixshm_check_truncate()
1824 obj = SLOT(shmlabel); in biba_posixshm_check_truncate()
1841 subj = SLOT(cred->cr_label); in biba_posixshm_check_unlink()
1842 obj = SLOT(shmlabel); in biba_posixshm_check_unlink()
1859 subj = SLOT(active_cred->cr_label); in biba_posixshm_check_write()
1860 obj = SLOT(shmlabel); in biba_posixshm_check_write()
1874 source = SLOT(cred->cr_label); in biba_posixshm_create()
1875 dest = SLOT(shmlabel); in biba_posixshm_create()
2061 subj = SLOT(cred->cr_label); in biba_priv_check()
2077 subj = SLOT(cred->cr_label); in biba_proc_check_debug()
2078 obj = SLOT(p->p_ucred->cr_label); in biba_proc_check_debug()
2097 subj = SLOT(cred->cr_label); in biba_proc_check_sched()
2098 obj = SLOT(p->p_ucred->cr_label); in biba_proc_check_sched()
2117 subj = SLOT(cred->cr_label); in biba_proc_check_signal()
2118 obj = SLOT(p->p_ucred->cr_label); in biba_proc_check_signal()
2139 p = SLOT(mlabel); in biba_socket_check_deliver()
2140 s = SLOT(solabel); in biba_socket_check_deliver()
2157 new = SLOT(newlabel); in biba_socket_check_relabel()
2158 subj = SLOT(cred->cr_label); in biba_socket_check_relabel()
2159 obj = SLOT(solabel); in biba_socket_check_relabel()
2210 subj = SLOT(cred->cr_label); in biba_socket_check_visible()
2211 obj = SLOT(solabel); in biba_socket_check_visible()
2229 source = SLOT(cred->cr_label); in biba_socket_create()
2230 dest = SLOT(solabel); in biba_socket_create()
2241 source = SLOT(solabel); in biba_socket_create_mbuf()
2242 dest = SLOT(mlabel); in biba_socket_create_mbuf()
2256 source = *SLOT(oldsolabel); in biba_socket_newconn()
2259 dest = SLOT(newsolabel); in biba_socket_newconn()
2274 source = SLOT(newlabel); in biba_socket_relabel()
2275 dest = SLOT(solabel); in biba_socket_relabel()
2286 source = SLOT(mlabel); in biba_socketpeer_set_from_mbuf()
2287 dest = SLOT(sopeerlabel); in biba_socketpeer_set_from_mbuf()
2302 source = *SLOT(oldsolabel); in biba_socketpeer_set_from_socket()
2304 dest = SLOT(newsopeerlabel); in biba_socketpeer_set_from_socket()
2316 source = SLOT(inp->inp_label); in biba_syncache_create()
2317 dest = SLOT(label); in biba_syncache_create()
2327 source = SLOT(sc_label); in biba_syncache_create_mbuf()
2328 dest = SLOT(mlabel); in biba_syncache_create_mbuf()
2342 subj = SLOT(cred->cr_label); in biba_system_check_acct()
2351 obj = SLOT(vplabel); in biba_system_check_acct()
2368 subj = SLOT(cred->cr_label); in biba_system_check_auditctl()
2377 obj = SLOT(vplabel); in biba_system_check_auditctl()
2393 subj = SLOT(cred->cr_label); in biba_system_check_auditon()
2412 subj = SLOT(cred->cr_label); in biba_system_check_swapoff()
2431 subj = SLOT(cred->cr_label); in biba_system_check_swapon()
2432 obj = SLOT(vplabel); in biba_system_check_swapon()
2454 subj = SLOT(cred->cr_label); in biba_system_check_sysctl()
2476 bzero(SLOT(msglabel), sizeof(struct mac_biba)); in biba_sysvmsg_cleanup()
2486 source = SLOT(cred->cr_label); in biba_sysvmsg_create()
2487 dest = SLOT(msglabel); in biba_sysvmsg_create()
2501 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msgrcv()
2502 obj = SLOT(msglabel); in biba_sysvmsq_check_msgrcv()
2519 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msgrmid()
2520 obj = SLOT(msglabel); in biba_sysvmsq_check_msgrmid()
2537 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msqget()
2538 obj = SLOT(msqklabel); in biba_sysvmsq_check_msqget()
2555 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msqsnd()
2556 obj = SLOT(msqklabel); in biba_sysvmsq_check_msqsnd()
2573 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msqrcv()
2574 obj = SLOT(msqklabel); in biba_sysvmsq_check_msqrcv()
2591 subj = SLOT(cred->cr_label); in biba_sysvmsq_check_msqctl()
2592 obj = SLOT(msqklabel); in biba_sysvmsq_check_msqctl()
2617 bzero(SLOT(msqlabel), sizeof(struct mac_biba)); in biba_sysvmsq_cleanup()
2626 source = SLOT(cred->cr_label); in biba_sysvmsq_create()
2627 dest = SLOT(msqlabel); in biba_sysvmsq_create()
2641 subj = SLOT(cred->cr_label); in biba_sysvsem_check_semctl()
2642 obj = SLOT(semaklabel); in biba_sysvsem_check_semctl()
2679 subj = SLOT(cred->cr_label); in biba_sysvsem_check_semget()
2680 obj = SLOT(semaklabel); in biba_sysvsem_check_semget()
2697 subj = SLOT(cred->cr_label); in biba_sysvsem_check_semop()
2698 obj = SLOT(semaklabel); in biba_sysvsem_check_semop()
2715 bzero(SLOT(semalabel), sizeof(struct mac_biba)); in biba_sysvsem_cleanup()
2724 source = SLOT(cred->cr_label); in biba_sysvsem_create()
2725 dest = SLOT(semalabel); in biba_sysvsem_create()
2739 subj = SLOT(cred->cr_label); in biba_sysvshm_check_shmat()
2740 obj = SLOT(shmseglabel); in biba_sysvshm_check_shmat()
2761 subj = SLOT(cred->cr_label); in biba_sysvshm_check_shmctl()
2762 obj = SLOT(shmseglabel); in biba_sysvshm_check_shmctl()
2793 subj = SLOT(cred->cr_label); in biba_sysvshm_check_shmget()
2794 obj = SLOT(shmseglabel); in biba_sysvshm_check_shmget()
2806 bzero(SLOT(shmlabel), sizeof(struct mac_biba)); in biba_sysvshm_cleanup()
2815 source = SLOT(cred->cr_label); in biba_sysvshm_create()
2816 dest = SLOT(shmlabel); in biba_sysvshm_create()
2828 source = SLOT(mplabel); in biba_vnode_associate_extattr()
2829 dest = SLOT(vplabel); in biba_vnode_associate_extattr()
2868 source = SLOT(mplabel); in biba_vnode_associate_singlelabel()
2869 dest = SLOT(vplabel); in biba_vnode_associate_singlelabel()
2883 subj = SLOT(cred->cr_label); in biba_vnode_check_chdir()
2884 obj = SLOT(dvplabel); in biba_vnode_check_chdir()
2901 subj = SLOT(cred->cr_label); in biba_vnode_check_chroot()
2902 obj = SLOT(dvplabel); in biba_vnode_check_chroot()
2919 subj = SLOT(cred->cr_label); in biba_vnode_check_create()
2920 obj = SLOT(dvplabel); in biba_vnode_check_create()
2937 subj = SLOT(cred->cr_label); in biba_vnode_check_deleteacl()
2938 obj = SLOT(vplabel); in biba_vnode_check_deleteacl()
2955 subj = SLOT(cred->cr_label); in biba_vnode_check_deleteextattr()
2956 obj = SLOT(vplabel); in biba_vnode_check_deleteextattr()
2978 exec = SLOT(execlabel); in biba_vnode_check_exec()
2987 subj = SLOT(cred->cr_label); in biba_vnode_check_exec()
2988 obj = SLOT(vplabel); in biba_vnode_check_exec()
3005 subj = SLOT(cred->cr_label); in biba_vnode_check_getacl()
3006 obj = SLOT(vplabel); in biba_vnode_check_getacl()
3023 subj = SLOT(cred->cr_label); in biba_vnode_check_getextattr()
3024 obj = SLOT(vplabel); in biba_vnode_check_getextattr()
3042 subj = SLOT(cred->cr_label); in biba_vnode_check_link()
3043 obj = SLOT(dvplabel); in biba_vnode_check_link()
3048 obj = SLOT(vplabel); in biba_vnode_check_link()
3065 subj = SLOT(cred->cr_label); in biba_vnode_check_listextattr()
3066 obj = SLOT(vplabel); in biba_vnode_check_listextattr()
3083 subj = SLOT(cred->cr_label); in biba_vnode_check_lookup()
3084 obj = SLOT(dvplabel); in biba_vnode_check_lookup()
3105 subj = SLOT(cred->cr_label); in biba_vnode_check_mmap()
3106 obj = SLOT(vplabel); in biba_vnode_check_mmap()
3129 subj = SLOT(cred->cr_label); in biba_vnode_check_open()
3130 obj = SLOT(vplabel); in biba_vnode_check_open()
3154 subj = SLOT(active_cred->cr_label); in biba_vnode_check_poll()
3155 obj = SLOT(vplabel); in biba_vnode_check_poll()
3172 subj = SLOT(active_cred->cr_label); in biba_vnode_check_read()
3173 obj = SLOT(vplabel); in biba_vnode_check_read()
3190 subj = SLOT(cred->cr_label); in biba_vnode_check_readdir()
3191 obj = SLOT(dvplabel); in biba_vnode_check_readdir()
3208 subj = SLOT(cred->cr_label); in biba_vnode_check_readlink()
3209 obj = SLOT(vplabel); in biba_vnode_check_readlink()
3224 old = SLOT(vplabel); in biba_vnode_check_relabel()
3225 new = SLOT(newlabel); in biba_vnode_check_relabel()
3226 subj = SLOT(cred->cr_label); in biba_vnode_check_relabel()
3278 subj = SLOT(cred->cr_label); in biba_vnode_check_rename_from()
3279 obj = SLOT(dvplabel); in biba_vnode_check_rename_from()
3284 obj = SLOT(vplabel); in biba_vnode_check_rename_from()
3302 subj = SLOT(cred->cr_label); in biba_vnode_check_rename_to()
3303 obj = SLOT(dvplabel); in biba_vnode_check_rename_to()
3309 obj = SLOT(vplabel); in biba_vnode_check_rename_to()
3327 subj = SLOT(cred->cr_label); in biba_vnode_check_revoke()
3328 obj = SLOT(vplabel); in biba_vnode_check_revoke()
3345 subj = SLOT(cred->cr_label); in biba_vnode_check_setacl()
3346 obj = SLOT(vplabel); in biba_vnode_check_setacl()
3363 subj = SLOT(cred->cr_label); in biba_vnode_check_setextattr()
3364 obj = SLOT(vplabel); in biba_vnode_check_setextattr()
3383 subj = SLOT(cred->cr_label); in biba_vnode_check_setflags()
3384 obj = SLOT(vplabel); in biba_vnode_check_setflags()
3401 subj = SLOT(cred->cr_label); in biba_vnode_check_setmode()
3402 obj = SLOT(vplabel); in biba_vnode_check_setmode()
3419 subj = SLOT(cred->cr_label); in biba_vnode_check_setowner()
3420 obj = SLOT(vplabel); in biba_vnode_check_setowner()
3437 subj = SLOT(cred->cr_label); in biba_vnode_check_setutimes()
3438 obj = SLOT(vplabel); in biba_vnode_check_setutimes()
3455 subj = SLOT(active_cred->cr_label); in biba_vnode_check_stat()
3456 obj = SLOT(vplabel); in biba_vnode_check_stat()
3474 subj = SLOT(cred->cr_label); in biba_vnode_check_unlink()
3475 obj = SLOT(dvplabel); in biba_vnode_check_unlink()
3480 obj = SLOT(vplabel); in biba_vnode_check_unlink()
3497 subj = SLOT(active_cred->cr_label); in biba_vnode_check_write()
3498 obj = SLOT(vplabel); in biba_vnode_check_write()
3518 source = SLOT(cred->cr_label); in biba_vnode_create_extattr()
3519 dest = SLOT(vplabel); in biba_vnode_create_extattr()
3535 source = SLOT(newlabel); in biba_vnode_relabel()
3536 dest = SLOT(vplabel); in biba_vnode_relabel()
3552 source = SLOT(intlabel); in biba_vnode_setlabel_extattr()