Re: How can I communicate between user/kernel programs?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 12 Apr 2017, at 11:16, Major Tom <i.escher@yahoo.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn "The Eskimo!"