Re: User-space to kernel communication
Re: User-space to kernel communication
- Subject: Re: User-space to kernel communication
- From: Greg <email@hidden>
- Date: Mon, 8 Jan 2007 18:13:42 -0500
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.
- Greg
On Jan 8, 2007, at 3:15 PM, Josh Graessley wrote:
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).
-josh
On Jan 7, 2007, at 6:40 PM, Greg wrote:
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!
Thanks,
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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