PERFORCE change 113354 for review
Todd Miller
millert at FreeBSD.org
Mon Jan 22 16:12:20 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113354
Change 113354 by millert at millert_macbook on 2007/01/22 16:11:40
Move ipq_label to be before the IPDIVERT elements since
IPDIVERT is not always defined which had the effect of
writing the label pointer over the IPDIVERT elements in
mac_inet.c.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_var.h#4 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/netinet/ip_var.h#4 (text+ko) ====
@@ -61,6 +61,12 @@
*
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
*/
+/*
+ * NOTICE: This file was modified by SPARTA, Inc. in 2007 to introduce
+ * support for mandatory and extensible security protections. This notice
+ * is included in support of clause 2.2 (b) of the Apple Public License,
+ * Version 2.0.
+ */
#ifndef _NETINET_IP_VAR_H_
#define _NETINET_IP_VAR_H_
@@ -94,6 +100,9 @@
u_long ipq_nfrags;
TAILQ_ENTRY(ipq) ipq_list;
u_long reserved[1]; /* for future use */
+#ifdef MAC
+ struct label *ipq_label; /* MAC label */
+#endif
#if IPDIVERT
#ifdef IPDIVERT_44
u_int32_t ipq_div_info; /* ipfw divert port & flags */
@@ -102,9 +111,6 @@
#endif
u_int16_t ipq_div_cookie; /* ipfw divert cookie */
#endif
-#ifdef MAC
- struct label *ipq_label; /* MAC label */
-#endif
};
/*
More information about the trustedbsd-cvs
mailing list