Re: How is the definition of stack canary on MIPS arch?

2010-09-06 Thread Adam Jiang
On Tue, Aug 31, 2010 at 09:12:57AM -0700, David Daney wrote: > On 08/30/2010 08:36 PM, Adam Jiang wrote: > >On Mon, Aug 30, 2010 at 10:43:44AM -0700, David Daney wrote: > >>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 i

Re: How is the definition of stack canary on MIPS arch?

2010-08-31 Thread David Daney
On 08/30/2010 08:36 PM, Adam Jiang wrote: On Mon, Aug 30, 2010 at 10:43:44AM -0700, David Daney wrote: 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 protecto

Re: How is the definition of stack canary on MIPS arch?

2010-08-30 Thread Adam Jiang
On Mon, Aug 30, 2010 at 10:43:44AM -0700, David Daney wrote: > 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 o

Re: How is the definition of stack canary on MIPS arch?

2010-08-30 Thread David Daney
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

Re: How is the definition of stack canary on MIPS arch?

2010-08-30 Thread Richard Henderson
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. r~

How is the definition of stack canary on MIPS arch?

2010-08-30 Thread Adam Jiang
Hello, How is the definition of stack canery on MIPS arch? Where can I find a specific on this topic? 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?