From: Hannah Schroeter <hannah@schlund.de>
To: linux-kernel@vger.kernel.org
Subject: Re: Calling user-space code from within module?
Date: Tue, 4 Sep 2001 13:54:24 +0200 (MEST) [thread overview]
Message-ID: <200109041154.f84BsO503288@c3po.schlund.de> (raw)
In-Reply-To: <AEEEJLJGDLODKEHHFIABMECPCFAA.kwooten@home.com>
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.
prev parent reply other threads:[~2001-09-04 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 0:43 Kevin D. Wooten
2001-09-04 11:54 ` Hannah Schroeter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200109041154.f84BsO503288@c3po.schlund.de \
--to=hannah@schlund.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®