lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Calling user-space code from within module?
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.028 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site