Re: Userland -> Kernel communication

From: aprasad@in.ibm.com
Date: Wed Nov 08 2000 - 09:07:52 EST


>I wish to give me some pointers to how to communicate with a kernel module
>from userland.
>May I use sockets?

You can use copy_to/from_user functions present in kernel space, provided
you have valid userland pointers
also put_user/get_user for single datum transfer.

regards
Anil

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



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:12 EST