I have a kernel module that does not control any device and instead
provides a specific service to user space. The communication from the
user space is done by opening the character device file that this
module publishes and passing some specific ioctl request together with
a parameter which is usually a large user-allocated buffer. Some
processing is done on that memory which is then stored back to the
user space. The actual char device read\write ops are not used in any
way.
The question is, is there any other way to communicate with such
module without any special files that is _semantically_ closer to what
it actually does? I ask basically out of pure curiosity :)
Thank you,
Inso.
You could make it to create a file into the /proc
tree and use it for communicating.
--
Tauno Voipio
tauno voipio (at) iki fi