linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Calling user-space code from within module?
@ 2001-09-04  0:43 Kevin D. Wooten
  2001-09-04 11:54 ` Hannah Schroeter
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin D. Wooten @ 2001-09-04  0:43 UTC (permalink / raw)
  To: linux-kernel

Is there any way to call a user-space function from within a kernel module,
providing at some point a function pointer was passed in? If so how would
you call this function if you were in the context of another process?

-kw


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

* Re: Calling user-space code from within module?
  2001-09-04  0:43 Calling user-space code from within module? Kevin D. Wooten
@ 2001-09-04 11:54 ` Hannah Schroeter
  0 siblings, 0 replies; 2+ messages in thread
From: Hannah Schroeter @ 2001-09-04 11:54 UTC (permalink / raw)
  To: linux-kernel

Hello!

In article <AEEEJLJGDLODKEHHFIABMECPCFAA.kwooten@home.com> you write:
>Is there any way to call a user-space function from within a kernel module,
>providing at some point a function pointer was passed in? If so how would
>you call this function if you were in the context of another process?

No precise hints, but you could look at the way how signal handler
functions are called.

Another way is to avoid the problem, using instead a userland<->kernel
socket (or similar) connection and some "remote procedure call" over
that socket.

Hope that helps a bit.

Kind regards,

Hannah.

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

end of thread, other threads:[~2001-09-04 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04  0:43 Calling user-space code from within module? Kevin D. Wooten
2001-09-04 11:54 ` Hannah Schroeter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).