[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving data to and from user/kernel space



hello, you can find the functions copy_from_user and copy_to_user in 
linux/compatmac.h. these will do the trick.
geert.

Dan wrote:

>I am trying to pass data between a kenerl module and a userspace daemon.
>I am not having much luck finding out how.  so right now i have a proc
>file set up that the userspace program just reads and write to the proc
>file and the kernel module just reacts to those reads and writes.  i dont
>think this is the best way - there has to be a better way. Any insight
>would be great!  Thank you!
>
>Dan
>
>
>--
>Kernelnewbies: Help each other learn about the Linux kernel.
>Archive:       http://mail.nl.linux.org/kernelnewbies/
>FAQ:           http://kernelnewbies.org/faq/
>
>  
>



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/