Re: Register a task's exception port from a kext
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I understand this very well but in my case it is definitely not a production software. <http://www.opensource.apple.com/darwinsource/10.5/xnu-1228//bsd/uxkern/ux_exception.c> [This link may require an APSL <http://www.opensource.apple.com/apsl/> account.] Good luck! -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... At 21:55 +1000 3/10/08, nicolas vide wrote: If you don't care about creating a real product, you have more options. Specifically, if you link against the entire kernel you should have access to task_set_special_port, which is a necessary first step. You will also need to use MIG (in kernel mode!) to generate a demux routine. Make sure you don't export your catch_xxx routines, lest they collide with the kernel routines of the same name. For an example of this check out the "Mach exceptions to BSD signals" code inside the kernel itself. This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn