public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel thread --> user process
@ 2002-03-02 20:06 Joel Hollingsworth
  2002-03-02 20:30 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Hollingsworth @ 2002-03-02 20:06 UTC (permalink / raw)
  To: linux-kernel



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


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

end of thread, other threads:[~2002-03-02 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-02 20:06 kernel thread --> user process Joel Hollingsworth
2002-03-02 20:30 ` Alan Cox

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