[ENBD] Kernel Space to User space communication

Peter T. Breuer enbd@lists.community.tummy.com
Sun, 19 Jan 2003 01:39:39 +0100 (MET)


"A month of sundays ago Don Jessup wrote:"
>   I'm working on a kernel module in linux 2.4 that needs to communicate to a
> user space program and I was wondering what are the merrits of using sockets to

I don't know! I use ioctls.

> do
>  the communication.  At the moment the communication seems to work.

You mean unix sockets? Or some of that rtl fake socket stuff? If the
latter, that may even be a good idea.

>   I'm concerned because I thought I read on a early thread that doing a socket
> communication between kernel and user space is a poor idea.   If this is case,
>   can you let me know why?

First resolve the ambiguities in your statement.

Peter