Re: Messaging between kernel modules and User Apps

From: Ihar 'Philips' Filipau
Date: Thu Aug 21 2003 - 12:03:35 EST


Zwane Mwaikambo wrote:
The de facto standard for network devices is to use sockets.
For character and and block devices Unix/Linux uses the
open/poll/ioctl/read mechanisms.

That sounds fine, but..

You could send your module a pid via proc and have it send a
signal to your application as a result of an event.

... please don't even entertain such sick ideas.

Especially when there is fcntl(F_{G,S}ET{OWN,SIG}) infrastructure in place - kill_fasync().

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/