On 08/30/2010 09:46 AM, Richard Henderson wrote:
On 08/30/2010 03:45 AM, Adam Jiang wrote:When I read the source in Linux kerne, it was said that stack canary for implementing stack protector is defined as an offset to %gs on x86 architecture. How about stack canary defined on MIPS?It's not implemented for MIPS.
For the Linux kernel, the MIPS stack canary would be a constant offset (that depends on PAGE_SIZE) from register $28.
David Daney