在哪里可以找到有关Mach内核消息传递的良好文档 [英] Where can I find a good documentation on Mach kernel messaging

查看:111
本文介绍了在哪里可以找到有关Mach内核消息传递的良好文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找全面的信息

1)Mach消息传递(mach_msg函数和朋友)

1) Mach messaging (mach_msg function and friends)

2)Mig系统(mig_get_reply_port函数和朋友)

2) Mig system (mig_get_reply_port function and friends)

我发现了以下内容:

a)不同的开源代码(例如 http: //opensource.apple.com/source/Libc/Libc-167/threads.subproj/mig_support.c )

a) Different open source (as example http://opensource.apple.com/source/Libc/Libc-167/threads.subproj/mig_support.c)

b)本文仅作简要概述 http://hurdextras.nongnu.org/ipc_guide/mach_ipc_basic_concepts.html

b) This article, which gives only brief overview http://hurdextras.nongnu.org/ipc_guide/mach_ipc_basic_concepts.html

c)MacOS X Internals书籍( http://www .amazon.com/Mac-OS-Internals-Systems-Approach/dp/0321278542 ). 我正在考虑购买它,但实际上我只需要10个页面,其中包含有关Mach消息的描述,因此,我正在尝试寻找其他信息来源.

c) MacOS X Internals book ( http://www.amazon.com/Mac-OS-Internals-Systems-Approach/dp/0321278542). I am thinking to buy it, but all I need from it is literally 10 pages with description of Mach messaging, so I am trying to find alternative sources of info.

推荐答案

首先,有Apple的开发人员文档.从Mach概述以及内核中的以下部分开始编程指南(链接可能不会长期保持有效; Apple往往会经常进行重组;而且,您可能更喜欢在Xcode中搜索而不是在线搜索).在这里,您还可以找到参考文档的链接.

First, there's Apple's developer documentation. Start with the Mach Overview and following sections in Kernel Programming Guide (the link may not stay good for long; Apple tends to reorganize often; also, you may prefer to search in Xcode instead of online). From here you can also find links to the reference documentation.

学术界也有很多有关Mach的文档.从 CMU马赫教程网站 HURD归档文件,但也尝试搜索一对名称为我可以在两个不同的 FTP .ps格式的存档.另外,我假设您看到链接到的HURD文档是一个更大的指南的一部分(请单击常规TOC"链接以到达此处),但是仍然不够详细.

There's also lots of documentation on Mach from academic sources. Start at the CMU Mach tutorial site and the HURD archives, but also try searching for a pair of articles named something with a name like "A Programmer's Guide to Mach", which I was able to find in two different FTP archives in .ps format. Also, I'm assuming you saw that the HURD document you linked to is part of a larger guide (click the "General TOC" link to get there), but it's still not that detailed.

从Phrack之类的资源中也可以得到一些有趣的收获(例如,开发MacOS X内核Rootkits )或不了解信息(例如,在Mac OS X上滥用Mach),但请记住,即使在公共文档随时可用的情况下,大多数编写这些内容的人还是喜欢通过逆向工程学所有东西,这意味着他们拥有一些奇怪的术语和一些奇怪的知识差距. (更不用说,只要X是他们可以利用的东西,他们并不真正在乎某个东西应该做X还是碰巧要做X…)

There's also some interesting takes from sources like Phrack (e.g., Developing MacOS X Kernel Rootkits) or Uninformed (e.g., Abusing Mach on Mac OS X) but keep in mind that most of the people writing these prefer to learn everything by reverse engineering even when public docs are readily available, which means they have some strange terminology and some odd gaps in their knowledge. (Not to mention that they don't really care whether something is supposed to do X or happens to do X, as long as X is something they can exploit…)

这篇关于在哪里可以找到有关Mach内核消息传递的良好文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆