From: John P. Looney (jplooney-ilug at domain online.ie)
Date: Tue 08 Feb 2000 - 13:00:31 GMT
On Tue, Feb 08, 2000 at 12:55:48PM +0000, Stephen Shirley mentioned:
> 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?
Have a look at the source for PerlFS - it's a kernel module that talks to
a userspace perl program, which implements a filesystem. Should have
everything you need to know in it.
If you aren't passing that much stuff back and forwards, a device file
is often an easy way to go.
Kate
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:22 GMT