| /f-stack/freebsd/security/mac/ |
| H A D | mac_policy.h | 82 struct label; 132 typedef void (*mpo_bpfdesc_init_label_t)(struct label *label); 165 typedef void (*mpo_cred_init_label_t)(struct label *label); 182 typedef void (*mpo_devfs_init_label_t)(struct label *label); 207 typedef void (*mpo_ifnet_init_label_t)(struct label *label); 211 struct label *ifplabel, struct label *newlabel); 227 struct label *label, struct inpcb *inp, 325 struct label *oldlabel, struct label *newlabel); 446 struct label *oldlabel, struct label *newlabel); 588 struct vnode *vp, struct label *label, int prot, [all …]
|
| H A D | mac_inet.c | 80 struct label *label; in mac_inpcb_label_alloc() local 114 struct label *label; in mac_ipq_label_alloc() local 165 mac_ipq_label_free(struct label *label) in mac_ipq_label_free() argument 193 struct label *label; in mac_ipq_reassemble() local 222 struct label *label; in mac_ipq_create() local 251 struct label *label; in mac_ipq_match() local 300 struct label *label; in mac_netinet_icmp_replyinplace() local 330 struct label *label; in mac_netinet_tcp_reply() local 343 struct label *label; in mac_ipq_update() local 359 struct label *label; in mac_inpcb_check_deliver() local [all …]
|
| H A D | mac_label.c | 75 mac_init_label(struct label *label) in mac_init_label() argument 78 bzero(label, sizeof(*label)); in mac_init_label() 83 mac_destroy_label(struct label *label) in mac_destroy_label() argument 90 bzero(label, sizeof(*label)); in mac_destroy_label() 99 struct label *label; in mac_labelzone_ctor() local 102 label = mem; in mac_labelzone_ctor() 103 mac_init_label(label); in mac_labelzone_ctor() 110 struct label *label; in mac_labelzone_dtor() local 113 label = mem; in mac_labelzone_dtor() 117 struct label * [all …]
|
| H A D | mac_sysv_msg.c | 65 static struct label * 68 struct label *label; in mac_sysv_msgmsg_label_alloc() local 72 return (label); in mac_sysv_msgmsg_label_alloc() 85 static struct label * 88 struct label *label; in mac_sysv_msgqueue_label_alloc() local 92 return (label); in mac_sysv_msgqueue_label_alloc() 106 mac_sysv_msgmsg_label_free(struct label *label) in mac_sysv_msgmsg_label_free() argument 124 mac_sysv_msgqueue_label_free(struct label *label) in mac_sysv_msgqueue_label_free() argument 147 msqkptr->label, msgptr, msgptr->label); in mac_sysvmsg_create() 182 msgptr->label, msqkptr, msqkptr->label); in mac_sysvmsq_check_msgmsq() [all …]
|
| H A D | mac_net.c | 100 struct label *label; in mac_mbuf_to_label() local 107 label = (struct label *)(tag+1); in mac_mbuf_to_label() 114 struct label *label; in mac_bpfdesc_label_alloc() local 134 struct label *label; in mac_ifnet_label_alloc() local 154 struct label *label; in mac_mbuf_tag_init() local 157 label = (struct label *) (tag + 1); in mac_mbuf_tag_init() 233 struct label *label; in mac_mbuf_tag_destroy() local 235 label = (struct label *)(tag+1); in mac_mbuf_tag_destroy() 325 struct label *label; in mac_bpfdesc_create_mbuf() local 342 struct label *label; in mac_ifnet_create_mbuf() local [all …]
|
| H A D | mac_inet6.c | 63 static struct label * 66 struct label *label; in mac_ip6q_label_alloc() local 70 if (label == NULL) in mac_ip6q_label_alloc() 82 return (label); in mac_ip6q_label_alloc() 99 mac_ip6q_label_free(struct label *label) in mac_ip6q_label_free() argument 119 struct label *label; in mac_ip6q_reassemble() local 127 label); in mac_ip6q_reassemble() 133 struct label *label; in mac_ip6q_create() local 147 struct label *label; in mac_ip6q_match() local 165 struct label *label; in mac_ip6q_update() local [all …]
|
| H A D | mac_socket.c | 102 struct label * 105 struct label *label; in mac_socket_label_alloc() local 127 struct label *label; in mac_socketpeer_label_alloc() local 168 mac_socket_label_free(struct label *label) in mac_socket_label_free() argument 176 mac_socketpeer_label_free(struct label *label) in mac_socketpeer_label_free() argument 264 struct label *label; in mac_socketpeer_set_from_mbuf() local 289 struct label *label; in mac_socket_create_mbuf() local 297 label); in mac_socket_create_mbuf() 369 struct label *label; in mac_socket_check_deliver() local 378 label); in mac_socket_check_deliver() [all …]
|
| H A D | mac_sysv_sem.c | 64 static struct label * 67 struct label *label; in mac_sysv_sem_label_alloc() local 71 return (label); in mac_sysv_sem_label_alloc() 81 semakptr->label = NULL; in mac_sysvsem_init() 85 mac_sysv_sem_label_free(struct label *label) in mac_sysv_sem_label_free() argument 89 mac_labelzone_free(label); in mac_sysv_sem_label_free() 96 if (semakptr->label != NULL) { in mac_sysvsem_destroy() 98 semakptr->label = NULL; in mac_sysvsem_destroy() 107 semakptr->label); in mac_sysvsem_create() 127 semakptr->label, cmd); in mac_sysvsem_check_semctl() [all …]
|
| H A D | mac_sysv_shm.c | 64 static struct label * 67 struct label *label; in mac_sysv_shm_label_alloc() local 71 return (label); in mac_sysv_shm_label_alloc() 81 shmsegptr->label = NULL; in mac_sysvshm_init() 85 mac_sysv_shm_label_free(struct label *label) in mac_sysv_shm_label_free() argument 89 mac_labelzone_free(label); in mac_sysv_shm_label_free() 98 shmsegptr->label = NULL; in mac_sysvshm_destroy() 107 shmsegptr->label); in mac_sysvshm_create() 127 shmsegptr->label, shmflg); in mac_sysvshm_check_shmat() 144 shmsegptr->label, cmd); in mac_sysvshm_check_shmctl() [all …]
|
| H A D | mac_internal.h | 158 struct label { struct 210 void mac_labelzone_free(struct label *label); 213 void mac_init_label(struct label *label); 214 void mac_destroy_label(struct label *label); 242 void mac_cred_label_free(struct label *label); 244 void mac_pipe_label_free(struct label *label); 246 void mac_socket_label_free(struct label *label); 248 void mac_vnode_label_free(struct label *label); 253 int mac_cred_internalize_label(struct label *label, char *string); 258 void mac_pipe_copy_label(struct label *src, struct label *dest); [all …]
|
| H A D | mac_pipe.c | 62 struct label * 65 struct label *label; in mac_pipe_label_alloc() local 69 return (label); in mac_pipe_label_alloc() 83 mac_pipe_label_free(struct label *label) in mac_pipe_label_free() argument 87 mac_labelzone_free(label); in mac_pipe_label_free() 101 mac_pipe_copy_label(struct label *src, struct label *dest) in mac_pipe_copy_label() 108 mac_pipe_externalize_label(struct label *label, char *elements, in mac_pipe_externalize_label() argument 119 mac_pipe_internalize_label(struct label *label, char *string) in mac_pipe_internalize_label() argument 137 struct label *newlabel) in mac_pipe_relabel() 199 struct label *newlabel) in mac_pipe_check_relabel() [all …]
|
| /f-stack/freebsd/security/mac_stub/ |
| H A D | mac_stub.c | 126 stub_init_label(struct label *label) in stub_init_label() argument 139 stub_destroy_label(struct label *label) in stub_destroy_label() argument 145 stub_copy_label(struct label *src, struct label *dest) in stub_copy_label() 356 struct label *ifplabel, struct label *newlabel) in stub_ifnet_check_relabel() 385 struct label *ifplabel, struct label *newlabel) in stub_ifnet_relabel() 623 struct label *pplabel, struct label *newlabel) in stub_pipe_check_relabel() 654 struct label *pplabel, struct label *newlabel) in stub_pipe_relabel() 958 struct label *solabel, struct label *newlabel) in stub_socket_check_relabel() 1047 struct label *solabel, struct label *newlabel) in stub_socket_relabel() 1503 struct label *vplabel, struct label *newlabel) in stub_vnode_check_relabel() [all …]
|
| /f-stack/freebsd/security/mac_test/ |
| H A D | mac_test.c | 209 test_bpfdesc_init_label(struct label *label) in test_bpfdesc_init_label() argument 406 test_cred_destroy_label(struct label *label) in test_cred_destroy_label() argument 427 test_cred_init_label(struct label *label) in test_cred_init_label() argument 502 test_devfs_init_label(struct label *label) in test_devfs_init_label() argument 613 test_ifnet_init_label(struct label *label) in test_ifnet_init_label() argument 814 test_ipq_destroy_label(struct label *label) in test_ipq_destroy_label() argument 918 struct label *label) in test_kld_check_load() argument 1016 test_mount_init_label(struct label *label) in test_mount_init_label() argument 1219 test_pipe_init_label(struct label *label) in test_pipe_init_label() argument 1597 test_proc_init_label(struct label *label) in test_proc_init_label() argument [all …]
|
| /f-stack/freebsd/security/mac_bsdextended/ |
| H A D | ugidfw_internal.h | 46 struct label *vplabel); 48 struct label *vplabel); 50 struct label *vplabel); 58 struct label *dvplabel); 60 struct label *dvplabel); 77 struct label *dvplabel, struct vnode *vp, struct label *label, 88 struct label *vplabel); 90 struct label *dvplabel, struct vnode *vp, struct label *vplabel, 93 struct label *dvplabel, struct vnode *vp, struct label *vplabel, 96 struct label *vplabel); [all …]
|
| H A D | ugidfw_vnode.c | 73 struct label *dvplabel) in ugidfw_vnode_check_chdir() 81 struct label *dvplabel) in ugidfw_vnode_check_chroot() 114 struct label *execlabel) in ugidfw_vnode_check_exec() 138 struct label *dvplabel, struct vnode *vp, struct label *label, in ugidfw_vnode_check_link() argument 178 struct label *dvplabel) in ugidfw_vnode_check_readdir() 186 struct label *vplabel) in ugidfw_vnode_check_readdlink() 194 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in ugidfw_vnode_check_rename_from() 207 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in ugidfw_vnode_check_rename_to() 222 struct label *vplabel) in ugidfw_vnode_check_revoke() 254 struct label *vplabel, mode_t mode) in ugidfw_vnode_check_setmode() [all …]
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | bcm47094-linksys-panamera.dts | 29 label = "WPS"; 35 label = "WiFi"; 41 label = "Reset"; 169 label = "lan1"; 195 label = "cpu"; 227 label = "lan7"; 232 label = "lan4"; 237 label = "lan8"; 242 label = "wan"; 248 label = "cpu"; [all …]
|
| H A D | armada-385-linksys-caiman.dts | 19 label = "caiman:amber:wan"; 24 label = "caiman:white:wan"; 82 label = "u-boot"; 88 label = "u_env"; 93 label = "s_env"; 98 label = "devinfo"; 105 label = "kernel1"; 110 label = "rootfs1"; 116 label = "kernel2"; 121 label = "rootfs2"; [all …]
|
| H A D | armada-385-linksys-shelby.dts | 19 label = "shelby:amber:wan"; 24 label = "shelby:white:wan"; 82 label = "u-boot"; 88 label = "u_env"; 93 label = "s_env"; 98 label = "devinfo"; 105 label = "kernel1"; 110 label = "rootfs1"; 116 label = "kernel2"; 121 label = "rootfs2"; [all …]
|
| H A D | armada-385-linksys-cobra.dts | 19 label = "cobra:amber:wan"; 24 label = "cobra:white:wan"; 82 label = "u-boot"; 88 label = "u_env"; 93 label = "s_env"; 98 label = "devinfo"; 105 label = "kernel1"; 110 label = "rootfs1"; 116 label = "kernel2"; 121 label = "rootfs2"; [all …]
|
| H A D | armada-385-linksys-rango.dts | 21 label = "rango:amber:wan"; 90 label = "u-boot"; 96 label = "u_env"; 101 label = "s_env"; 106 label = "devinfo"; 112 label = "sysdiag"; 119 label = "kernel1"; 124 label = "rootfs1"; 130 label = "kernel2"; 135 label = "rootfs2"; [all …]
|
| H A D | bcm4708-smartrg-sr400ac.dts | 43 label = "bcm53xx:white:usb2"; 89 label = "bcm53xx:red:wan"; 98 label = "WiFi"; 104 label = "WPS"; 110 label = "Reset"; 130 label = "lan4"; 135 label = "lan3"; 140 label = "lan2"; 145 label = "lan1"; 150 label = "wan"; [all …]
|
| H A D | bcm47094-luxul-xwr-3100.dts | 29 label = "bcm53xx:green:power"; 35 label = "bcm53xx:green:lan3"; 40 label = "bcm53xx:green:lan4"; 45 label = "bcm53xx:green:wan"; 88 label = "Reset"; 116 label = "lan4"; 121 label = "lan3"; 126 label = "lan2"; 131 label = "lan1"; 136 label = "wan"; [all …]
|
| /f-stack/freebsd/security/mac_partition/ |
| H A D | mac_partition.c | 81 partition_check(struct label *subject, struct label *object) in partition_check() 149 partition_cred_copy_label(struct label *src, struct label *dest) in partition_cred_copy_label() 173 partition_cred_destroy_label(struct label *label) in partition_cred_destroy_label() argument 176 SLOT_SET(label, 0); in partition_cred_destroy_label() 180 partition_cred_externalize_label(struct label *label, char *element_name, in partition_cred_externalize_label() argument 189 if (label != NULL) { in partition_cred_externalize_label() 200 partition_cred_init_label(struct label *label) in partition_cred_init_label() argument 203 SLOT_SET(label, 0); in partition_cred_init_label() 207 partition_cred_internalize_label(struct label *label, char *element_name, in partition_cred_internalize_label() argument 229 struct label *inplabel) in partition_inpcb_check_visible() [all …]
|
| /f-stack/freebsd/security/mac_biba/ |
| H A D | mac_biba.c | 509 biba_init_label(struct label *label) in biba_init_label() argument 527 biba_destroy_label(struct label *label) in biba_destroy_label() argument 1016 struct label *ifplabel, struct label *newlabel) in biba_ifnet_check_relabel() 1128 struct label *ifplabel, struct label *newlabel) in biba_ifnet_relabel() 1485 struct label *pplabel, struct label *newlabel) in biba_pipe_check_relabel() 1584 struct label *pplabel, struct label *newlabel) in biba_pipe_relabel() 2150 struct label *solabel, struct label *newlabel) in biba_socket_check_relabel() 2268 struct label *solabel, struct label *newlabel) in biba_socket_relabel() 2404 struct label *label) in biba_system_check_swapoff() argument 3219 struct label *vplabel, struct label *newlabel) in biba_vnode_check_relabel() [all …]
|
| /f-stack/freebsd/security/mac_mls/ |
| H A D | mac_mls.c | 474 mls_init_label(struct label *label) in mls_init_label() argument 492 mls_destroy_label(struct label *label) in mls_destroy_label() argument 982 struct label *ifplabel, struct label *newlabel) in mls_ifnet_check_relabel() 1050 struct label *ifplabel, struct label *newlabel) in mls_ifnet_relabel() 1381 struct label *pplabel, struct label *newlabel) in mls_pipe_check_relabel() 1480 struct label *pplabel, struct label *newlabel) in mls_pipe_relabel() 1860 struct label *solabel, struct label *newlabel) in mls_socket_check_relabel() 1978 struct label *solabel, struct label *newlabel) in mls_socket_relabel() 2851 struct label *vplabel, struct label *newlabel) in mls_vnode_check_relabel() 3163 struct label *vplabel, struct label *label) in mls_vnode_relabel() argument [all …]
|