Kernel module <-> user communication

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

 



I'm trying to write a kernel network driver but I don't know how to access it from a kernel space program.  I'd like to "export" a function from the driver that a user space program could call, but I'm not sure if that's possible.  For example, I'd like to be able to call "do_something(args)" from a user space program that would make the driver perform an action (writing to a device register, etc).  This is a very specialized device, so the user space program could/will be tied very tightly to the driver.


Thanks,
Steve
--
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