• 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: Newbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Questions


  • Subject: Re: Newbie Questions
  • From: Chuck Remes <email@hidden>
  • Date: Thu, 29 Nov 2007 16:17:35 -0600


On Nov 29, 2007, at 3:38 PM, Thomas Inskip wrote:

I am not completely new to the darwin underpinnings, but I have been assigned a task that definitely requires pretty good knowledge of the mach kernel. First I'd like to ask what's a good introduction to the kernel (let's call it a crash course).

Next I'd like to explain what I need to be able to do. I basically need to be able to detect when someone is reading from a shared resource (in this case the display buffer). For what I understand, any such resources are arbitrated through mach ports. If a process needs access to one, it obtains either read or write rights to it (multiple reader, single writer?), and then is able to access the resource. Is this correct? If so, I should be able to determine when someone obtains read access to such a port via the kernel trace facility or something similar. At least that's my idea. Perhaps I am wayyyyyyy off. Feel free to let me know if that's so or if I am oversimplifying things.

This is probably the best you'll be able to do.

http://www.amazon.com/Mac-OS-Internals-Systems-Approach/dp/0321278542/ ref=pd_bbs_1?ie=UTF8&s=books&qid=1196374596&sr=8-1

Excellent book. Best reference outside of reading the source code.

cr


_______________________________________________ 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
References: 
 >Newbie Questions (From: Thomas Inskip <email@hidden>)

  • Prev by Date: Newbie Questions
  • Next by Date: Kext Dependency not found in Leopard 10.5 ( Intel Mac Mini )
  • Previous by thread: Newbie Questions
  • Next by thread: Re: Newbie Questions
  • Index(es):
    • Date
    • Thread