how is my program executed by bash and the kernel
Hello all,
I just wanted to know how the program name and arguments are passed to the kernel, are they passed on the stack or registers. I need a detail explanation (under the hood type) of how a program gets executed. I have read the article "How main() is executed on Linux" by Hyouck "Hawk" Kim (great article), but I still have questions on how the stack is setup before
_start gets control.
thanks
|