[lkml]   [2002]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectkernel thread --> user process

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 as I'm currently not subscribed.

Thanks for reading.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean