Re: stack pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 07 Mar 2016 13:07:14 +0530, Nitin Varyani said:

> Where is the stack pointer for the current process stored in linux?

In the stack pointer register, of course. (And if the code was compiled
with -fomit-stack-pointer there isn't even one. :)

The fun and games starts when you talk about the stack for a process that
*isn't* currently active on a CPU....

Attachment: pgpgu3idOZVSf.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux