site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Stephane writes:
- can you kernel panic outside your own kernel extension if you're doing bad things with memory (till now I've always KPed in my code)?
Sure; it is all one not-so-big address space shared by the kernel and all extensions. Consider what would happen if you malloced some memory, and that memory was located right next to memory used by another driver. You then access that memory out of bounds, changing the memory owned by another driver. That could be bad, especially of the other drive is using the memory to store pointers. Drew _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Gallatin