Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Communicating with kernel module.

0 views
Skip to first unread message

Inso Reiges

unread,
Nov 9, 2009, 3:07:42 AM11/9/09
to
Hi,

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.

Tauno Voipio

unread,
Nov 9, 2009, 5:48:00 AM11/9/09
to


You could make it to create a file into the /proc
tree and use it for communicating.

--

Tauno Voipio
tauno voipio (at) iki fi

0 new messages