PERFORCE change 84510 for review
Todd Miller
millert at FreeBSD.org
Thu Sep 29 20:51:29 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=84510
Change 84510 by millert at millert_ibook on 2005/09/29 20:51:00
Only expose the non-macro version of io_free() if MACH_ASSERT or MAC
are defined. Complements the change to ipc_object.h.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/ipc_object.c#5 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/ipc_object.c#5 (text+ko) ====
@@ -1011,6 +1011,7 @@
return &port->ip_label;
}
+#if MACH_ASSERT || MAC
/*
* Check whether the object is a port if so, free it. But
* keep track of that fact.
@@ -1037,6 +1038,7 @@
}
zfree(ipc_object_zones[otype], (vm_offset_t) object);
}
+#endif /* MACH_ASSERT || MAC */
#include <mach_kdb.h>
#if MACH_KDB
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