Before a program is executed, when is the esp register set to point to a valid address? During the call to exec? Or in user space itself? I've gone through the kernel code and can't seem to find it anywhere.
Before a program is executed, when is the esp register set to point to a valid address? During the call to exec? Or in user space itself? I've gone through the kernel code and can't seem to find it anywhere.