/freebsd/sys/security/mac/ |
H A D | mac_inet.c | 216 struct label *mlabel, *fraglabel; in mac_netinet_fragment() local 221 mlabel = mac_mbuf_to_label(m); in mac_netinet_fragment() 224 MAC_POLICY_PERFORM_NOSLEEP(netinet_fragment, m, mlabel, frag, in mac_netinet_fragment() 244 struct label *mlabel; in mac_inpcb_create_mbuf() local 251 mlabel = mac_mbuf_to_label(m); in mac_inpcb_create_mbuf() 254 mlabel); in mac_inpcb_create_mbuf() 277 struct label *mlabel; in mac_netinet_arp_send() local 283 mlabel = mac_mbuf_to_label(m); in mac_netinet_arp_send() 287 m, mlabel); in mac_netinet_arp_send() 322 struct label *mlabel; in mac_netinet_igmp_send() local [all …]
|
H A D | mac_policy.h | 135 struct label *mlabel); 211 struct label *mlabel); 218 struct label *mlabel); 230 struct label *mlabel); 238 struct label *mlabel); 245 typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel, 249 typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel, 252 struct mbuf *m, struct label *mlabel); 253 typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel, 262 typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel, [all …]
|
H A D | mac_inet6.c | 188 struct label *mlabel; in mac_netinet6_nd6_send() local 193 mlabel = mac_mbuf_to_label(m); in mac_netinet6_nd6_send() 196 mlabel); in mac_netinet6_nd6_send()
|
/freebsd/sys/security/mac_stub/ |
H A D | mac_stub.c | 186 struct mbuf *m, struct label *mlabel) in stub_bpfdesc_create_mbuf() argument 396 struct mbuf *m, struct label *mlabel) in stub_ifnet_check_transmit() argument 410 struct mbuf *m, struct label *mlabel) in stub_ifnet_create_mbuf() argument 424 struct mbuf *m, struct label *mlabel) in stub_inpcb_check_deliver() argument 439 struct mbuf *m, struct label *mlabel) in stub_inpcb_create_mbuf() argument 454 stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_create() argument 461 stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_match() argument 470 struct label *mlabel) in stub_ip6q_reassemble() argument 476 stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_update() argument 483 stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_create() argument [all …]
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 908 struct mbuf *m, struct label *mlabel) in lomac_bpfdesc_create_mbuf() argument 913 dest = SLOT(mlabel); in lomac_bpfdesc_create_mbuf() 1165 struct mbuf *m, struct label *mlabel) in lomac_ifnet_check_transmit() argument 1172 p = SLOT(mlabel); in lomac_ifnet_check_transmit() 1238 struct mbuf *m, struct label *mlabel) in lomac_ifnet_create_mbuf() argument 1243 dest = SLOT(mlabel); in lomac_ifnet_create_mbuf() 1262 struct mbuf *m, struct label *mlabel) in lomac_inpcb_check_deliver() argument 1269 p = SLOT(mlabel); in lomac_inpcb_check_deliver() 1307 struct mbuf *m, struct label *mlabel) in lomac_inpcb_create_mbuf() argument 1312 dest = SLOT(mlabel); in lomac_inpcb_create_mbuf() [all …]
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 766 struct mbuf *m, struct label *mlabel) in mls_bpfdesc_create_mbuf() argument 771 dest = SLOT(mlabel); in mls_bpfdesc_create_mbuf() 1002 struct mbuf *m, struct label *mlabel) in mls_ifnet_check_transmit() argument 1009 p = SLOT(mlabel); in mls_ifnet_check_transmit() 1034 struct mbuf *m, struct label *mlabel) in mls_ifnet_create_mbuf() argument 1039 dest = SLOT(mlabel); in mls_ifnet_create_mbuf() 1058 struct mbuf *m, struct label *mlabel) in mls_inpcb_check_deliver() argument 1065 p = SLOT(mlabel); in mls_inpcb_check_deliver() 1103 struct mbuf *m, struct label *mlabel) in mls_inpcb_create_mbuf() argument 1108 dest = SLOT(mlabel); in mls_inpcb_create_mbuf() [all …]
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 802 struct mbuf *m, struct label *mlabel) in biba_bpfdesc_create_mbuf() argument 807 dest = SLOT(mlabel); in biba_bpfdesc_create_mbuf() 1041 struct mbuf *m, struct label *mlabel) in biba_ifnet_check_transmit() argument 1048 p = SLOT(mlabel); in biba_ifnet_check_transmit() 1113 struct mbuf *m, struct label *mlabel) in biba_ifnet_create_mbuf() argument 1118 dest = SLOT(mlabel); in biba_ifnet_create_mbuf() 1137 struct mbuf *m, struct label *mlabel) in biba_inpcb_check_deliver() argument 1144 p = SLOT(mlabel); in biba_inpcb_check_deliver() 1184 struct mbuf *m, struct label *mlabel) in biba_inpcb_create_mbuf() argument 1189 dest = SLOT(mlabel); in biba_inpcb_create_mbuf() [all …]
|
/freebsd/sys/security/mac_test/ |
H A D | mac_test.c | 188 struct mbuf *m, struct label *mlabel) in test_bpfdesc_create_mbuf() argument 192 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_bpfdesc_create_mbuf() 596 struct mbuf *m, struct label *mlabel) in test_ifnet_check_transmit() argument 600 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_check_transmit() 628 struct mbuf *m, struct label *mlabel) in test_ifnet_create_mbuf() argument 632 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_create_mbuf() 693 struct mbuf *m, struct label *mlabel) in test_inpcb_check_deliver() argument 697 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_check_deliver() 732 struct mbuf *m, struct label *mlabel) in test_inpcb_create_mbuf() argument 736 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_create_mbuf() [all …]
|
/freebsd/sys/security/mac_ifoff/ |
H A D | mac_ifoff.c | 130 struct mbuf *m, struct label *mlabel) in ifoff_ifnet_check_transmit() argument 138 struct mbuf *m, struct label *mlabel) in ifoff_inpcb_check_deliver() argument 150 struct mbuf *m, struct label *mlabel) in ifoff_socket_check_deliver() argument
|