Re: moving data to and from user/kernel space

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

 



On Tue, Jan 07, 2003 at 10:39:59AM -0500, 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!

Lookup copy_from_user/copy_to_user. They are documented in Rubini's
Linux Device Drivers book, chapter 3, page 79.

-- 
Chirag Kantharia, symonds.net/~chyrag/

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux