When is the esp register set in linux?

Viewed 614

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.

1 Answers
Related