site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=FiqOmFXKg5ySCppdMQmS8aMi3FdpeGG/LF9l0syrvOo=; b=teFJ7END28fLZfXymSoprab+onQhgxrY066M0VSl5hkm8ZetFAlixV6VgM4PGfOfOKwpk1pISx+Lz6X/VcIwK58ir6LuhebOA4zJUgYOQ/4DoW89Un/pu+6fSa9jKuYP14ulJrkBLVD0TzyzaUdYL7sXqmPuBf7JDTga9rSNC1s= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=IgThfwtOyDn5xyYMPMv7XoEomi5Qq2DyDsfFWU6NTfAzDIi0+wWyoBXKWTGN9lqgYMTEM9ghQFbW5PzNTrdfso0+Rogeu+LYaDMau6VSpxdxTLN3F/9Ep1TM4gej6m45F1GSfCJg+SmFyuBgWBqObQiArBS6XrDluHJba4fzIsI= Thanks in advance. _______________________________________________ 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... 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 email sent to site_archiver@lists.apple.com
participants (1)
-
Thomas Inskip