Date: Thu, 29 Sep 2005 20:51:29 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 84510 for review Message-ID: <200509292051.j8TKpTj4075836@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=84510 Change 84510 by millert@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509292051.j8TKpTj4075836>