Re: communication from kext to user space application
Re: communication from kext to user space application
- Subject: Re: communication from kext to user space application
- From: "Duane Murphy" <email@hidden>
- Date: Wed, 26 Mar 2008 10:29:09 -0700
--- At Wed, 26 Mar 2008 16:54:02 +0100, Lutz Helwing wrote:
>Hi there,
>
>i have an already working kext which writes to syslog without any
>problems. However what i actually want is an application (maybe
>daemon) which receives this messages from my kext. I was thinking
>about reading from the syslog but this doesn't look like a very
>efficient and elegant solution. My question is: How can a kext pass
>messages to a user space application? Is there at least any
>documentation and/or examples on this or does anyone have a suggestion
>on how to start here? I assume that this is not such a big issue? But
>it's the only (and of course most important) part that is missing
>missing?
<http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
WritingDeviceDriver/MakingHWAccessible/chapter_5_section_3.html#//
apple_ref/doc/uid/TP30000698-TPXREF108>
In this section there is a discussion of passing notifications from the
kernel into user space.
User space communication is initiated from user space to the kernel.
Also, this might help <http://developer.apple.com/technotes/tn2005/
tn2083.html>. There is a lot of information in this document so you'll
have to work at finding a solution for you.
...Duane
_______________________________________________
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