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


    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

    -
    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:24    [W:0.022 / U:1.672 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site