> Hi,
> I'm trying to write a kernel module for
> my final year project. The kernel module needs
> to communicate with a user space program. The
> link needs to be two way. How do I go about this?
> I know you can use pipes, fifos, ipc, semaphores
> and shared memory between user processes,
> but are any of those available to the kernel?
Take a look at userfs:
http://www.ozemail.com.au/~mccormack/userfs.htmlhttp://www.goop.org/~jeremy/userfs/
They needed to do something similar.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!