• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Solved] Re: Kernel Panic Cluedo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved] Re: Kernel Panic Cluedo


  • Subject: Re: [Solved] Re: Kernel Panic Cluedo
  • From: Michael Smith <email@hidden>
  • Date: Thu, 23 Nov 2006 11:14:34 -0800

Stephane wrote:
On Nov 22, 2006, at 6:04 PM, Michael Smith wrote:
Stephane wrote:
When you do some bad things in your Kernel Extension (such as writing where you should not, reading a bit too far in buffers, etc...), should a Kernel Panic occur in your Kernel Extension or can it occur later?

It depends on what you damage. If you read/write completely out of bounds, your code will fail. But if you destroy a pointer belonging to someone else, there is no way for the hardware/kernel to know a) that that's what you're doing, or b) to blame you when some other code attempts to use it.

It turned out to be a copyin of a bigger size than required.

It could be cool if there was a Kernel simulator with memory protection...

Protection of what? Read/write memory in the kernel map is freely writable by any code within the kernel; this is what being a "monolithic" kernel is all about.


Given how much vilifiction Darwin has received for being a "microkernel" because we "all know" how inefficient they are, I see this rapidly becoming amusing.

= Mike

_______________________________________________
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


  • Follow-Ups:
    • Re: [Solved] Re: Kernel Panic Cluedo
      • From: Andrew Gallatin <email@hidden>
    • Re: [Solved] Re: Kernel Panic Cluedo
      • From: Stephane Sudre <email@hidden>
References: 
 >Kernel Panic Cluedo (From: Stephane <email@hidden>)
 >Re: Kernel Panic Cluedo (From: Michael Smith <email@hidden>)
 >[Solved] Re: Kernel Panic Cluedo (From: Stephane <email@hidden>)

  • Prev by Date: [Solved] Re: Kernel Panic Cluedo
  • Next by Date: Re: [Solved] Re: Kernel Panic Cluedo
  • Previous by thread: [Solved] Re: Kernel Panic Cluedo
  • Next by thread: Re: [Solved] Re: Kernel Panic Cluedo
  • Index(es):
    • Date
    • Thread