Re: User-space to kernel communication
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com - Greg On Jan 8, 2007, at 3:15 PM, Josh Graessley wrote: -josh On Jan 7, 2007, at 6:40 PM, Greg wrote: Thanks, _______________________________________________ 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... Like I said, I'm trying to send the kernel variable length data of around 50 bytes. I am using the IOKit but I would also like to know how to do this without it. Is there any documentation on this? I would really prefer to avoid blindly going through header files. This depends on what you are trying to communicate with in the kernel. If you are already using IOKit, I would imagine an IOUserClient would be the way to go. If you're writing a non-IOKit kext, you may want to look in to a kernel control socket (sys/ kern_control.h). Hi, what is the best way(s) to send variable length data (around 50 bytes or so) to a kernel extension from a user-land application? Are there different ways to do this if the kext uses the IOUserClient schema to talk to user-land apps? If you could also point me to documentation or a tutorial on how to do this I would be much obliged! - Greg _______________________________________________ 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/jgraessley% 40apple.com This email sent to jgraessley@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg