public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Userland -> Kernel communication
@ 2000-11-08 12:49 Catalin BOIE
  2000-11-08 13:09 ` Klaus Naumann
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin BOIE @ 2000-11-08 12:49 UTC (permalink / raw)
  To: linux-kernel

Hello!

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

Thanks in advance!

---
Catalin(ux) BOIE
catab@deuroconsult.ro
A new Linux distribution: http://l13plus.deuroconsult.ro
http://www2.deuroconsult.ro/~catab

-
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Userland -> Kernel communication
@ 2000-11-08 14:07 aprasad
  0 siblings, 0 replies; 3+ messages in thread
From: aprasad @ 2000-11-08 14:07 UTC (permalink / raw)
  To: Catalin BOIE; +Cc: linux-kernel


>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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-08 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-08 12:49 Userland -> Kernel communication Catalin BOIE
2000-11-08 13:09 ` Klaus Naumann
  -- strict thread matches above, loose matches on Subject: below --
2000-11-08 14:07 aprasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox