All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Hollingsworth <jhollingsworth@elon.edu>
To: linux-kernel@vger.kernel.org
Subject: kernel thread --> user process
Date: 02 Mar 2002 15:06:27 -0500	[thread overview]
Message-ID: <1015099588.24535.175.camel@trumpy.elon.edu> (raw)



I would like to push a kernel thread into a user-level process through
the use of execve. The kernel thread is started from a loadable 
module - so there has been no user-level process dipping into the 
kernel that we could just replace. 

The process init does something similar. From what I've been reading it
just calls execve() and magically it is a user-level process. Since 
my code does not generate a user-level process I assume there is more
to it than that. Can someone point me in the right direction to 
accomplishing this? Do I need to generate a user-land stack frame? How?

Please cc jhollingsworth@elon.edu as I'm currently not subscribed.

Thanks for reading.

-joel


             reply	other threads:[~2002-03-02 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02 20:06 Joel Hollingsworth [this message]
2002-03-02 20:30 ` kernel thread --> user process Alan Cox

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=1015099588.24535.175.camel@trumpy.elon.edu \
    --to=jhollingsworth@elon.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.