Re: How can I communicate between user/kernel programs?
Re: How can I communicate between user/kernel programs?
- Subject: Re: How can I communicate between user/kernel programs?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 12 Apr 2017 11:28:28 +0100
On 12 Apr 2017, at 11:16, Major Tom <email@hidden> wrote:
> What communication mechanism should best suit in such case?
It depends on what subsystem of the kernel you’re loading in:
* For I/O Kit, you can use an I/O User Client
<https://developer.apple.com/library/content/samplecode/SimpleUserClient/Introduction/Intro.html#//apple_ref/doc/uid/DTS10000450>
* For other types of KEXTs (NKE, VFS, general), a kernel control socket is a good balance between flexibility and ease of development.
<https://developer.apple.com/library/content/documentation/Darwin/Conceptual/NKEConceptual/control/control.html>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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