lkml.org 
[lkml]   [2005]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLinux 2.6.x.x Execution Process Question
Hello,

Im looking for some help on some research I am conducting. Im trying
to understand the complete execution process from start to finish of
an ELF executable object on the i386 platform in particular, but
x86_64 works as well. So far I have come up with the following:

Shell passes arguments and environment to execve() -> sys_execve() ->
do_execve() -> search_binary_handler() -> ?

Is this complete in a very generic way? What specifics happen along the way?

Most of the papers I have found on this are from older kernel versions
2.0 and 2.2. Im trying to find out the specifics of it all, for
example which registers are zeroed out before passing control to
userspace and where it happens. How does the stack look when control
is passed? These types of specifics are what I had in mind.

If anyone can point me in the right direction or provide an
explanation it would be helpful. Thank you.

-us
-
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-07-09 04:31    [W:2.550 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site