PERFORCE change 91457 for review

Todd Miller millert at FreeBSD.org
Thu Feb 9 20:07:36 GMT 2006


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

Change 91457 by millert at millert_ibook on 2006/02/09 20:07:21

	#ifdef MAC for the AV trailer code

Affected files ...

.. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#8 (text+ko) ====

@@ -272,6 +272,7 @@
 
 
 		if (option & MACH_RCV_TRAILER_ELEMENTS (MACH_RCV_TRAILER_AV)) {
+#ifdef MAC
 		  if (kmsg->ikm_sender != NULL &&
 		      IP_VALID(kmsg->ikm_header.msgh_remote_port)) {
 		    trailer->msgh_ad = !mac_check_ipc_method
@@ -280,6 +281,7 @@
 		       kmsg->ikm_header.msgh_id);
 		  }
 		  else
+#endif
 		      trailer->msgh_ad = 0;
 		}
 
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