PERFORCE change 32210 for review

Robert Watson rwatson at FreeBSD.org
Sat May 31 20:02:19 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=32210

Change 32210 by rwatson at rwatson_tislabs on 2003/05/31 13:01:58

	Stubs for mpo_reflect_mbuf_icmp, mpo_reflect_mbuf_tcp.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#121 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#101 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#121 (text+ko) ====

@@ -389,6 +389,18 @@
 }
 
 static void
+mac_none_reflect_mbuf_icmp(struct mbuf *m, struct label *mlabel)
+{
+
+}
+
+static void
+mac_none_reflect_mbuf_tcp(struct mbuf *m, struct label *mlabel)
+{
+
+}
+
+static void
 mac_none_relabel_ifnet(struct ucred *cred, struct ifnet *ifnet,
     struct label *ifnetlabel, struct label *newlabel)
 {
@@ -1040,6 +1052,8 @@
 	.mpo_create_mbuf_multicast_encap = mac_none_create_mbuf_multicast_encap,
 	.mpo_create_mbuf_netlayer = mac_none_create_mbuf_netlayer,
 	.mpo_fragment_match = mac_none_fragment_match,
+	.mpo_reflect_mbuf_icmp = mac_none_reflect_mbuf_icmp,
+	.mpo_reflect_mbuf_tcp = mac_none_reflect_mbuf_tcp,
 	.mpo_relabel_ifnet = mac_none_relabel_ifnet,
 	.mpo_update_ipq = mac_none_update_ipq,
 	.mpo_create_cred = mac_none_create_cred,

==== //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#101 (text+ko) ====

@@ -798,6 +798,18 @@
 }
 
 static void
+mac_test_reflect_mbuf_icmp(struct mbuf *m, struct label *mlabel)
+{
+
+}
+
+static void
+mac_test_reflect_mbuf_tcp(struct mbuf *m, struct label *mlabel)
+{
+
+}
+
+static void
 mac_test_relabel_ifnet(struct ucred *cred, struct ifnet *ifnet,
     struct label *ifnetlabel, struct label *newlabel)
 {
@@ -1467,6 +1479,8 @@
 	.mpo_create_mbuf_multicast_encap = mac_test_create_mbuf_multicast_encap,
 	.mpo_create_mbuf_netlayer = mac_test_create_mbuf_netlayer,
 	.mpo_fragment_match = mac_test_fragment_match,
+	.mpo_reflect_mbuf_icmp = mac_test_reflect_mbuf_icmp,
+	.mpo_reflect_mbuf_icmp = mac_test_reflect_mbuf_tcp,
 	.mpo_relabel_ifnet = mac_test_relabel_ifnet,
 	.mpo_update_ipq = mac_test_update_ipq,
 	.mpo_create_cred = mac_test_create_cred,
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list