Re: Kernel Panic Cluedo
Re: Kernel Panic Cluedo
- Subject: Re: Kernel Panic Cluedo
- From: Andrew Gallatin <email@hidden>
- Date: Wed, 22 Nov 2006 06:55:51 -0500 (EST)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden