Date: Thu, 9 Feb 2006 19:31:51 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91453 for review Message-ID: <200602091931.k19JVpxF029128@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91453 Change 91453 by millert@millert_ibook on 2006/02/09 19:30:51 Less hackish method of disabling the hot path Affected files ... .. //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#7 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin7/src/darwin/xnu/osfmk/ipc/mach_msg.c#7 (text+ko) ==== @@ -581,7 +581,11 @@ #endif /* !HOTPATH_DEBUG */ +#ifdef MAC +boolean_t enable_hotpath = FALSE; /* XXX - push MAC into HOTPATH too */ +#else boolean_t enable_hotpath = TRUE; /* Patchable, just in case ... */ +#endif #endif /* HOTPATH_ENABLE */ /* @@ -613,7 +617,7 @@ option & ~(MACH_SEND_TRAILER|MACH_RCV_TRAILER_MASK|MACH_RCV_LARGE); int i; -#if ENABLE_HOTPATH_INSECURE +#if ENABLE_HOTPATH /* BEGINNING OF HOT PATH */ if ((masked_option == (MACH_SEND_MSG|MACH_RCV_MSG)) && enable_hotpath) { register thread_t self = current_thread();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602091931.k19JVpxF029128>