[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200607281913.37889.pluto@agmk.net>
Date: Fri, 28 Jul 2006 19:13:37 +0200
From: Paweł Sikora <pluto@...k.net>
To: linux-kernel@...r.kernel.org
Subject: Re: [patch 2/5] Add the Kconfig option for the stackprotector feature
On Friday 28 July 2006 18:24, Daniel Walker wrote:
> On Fri, 2006-07-28 at 18:03 +0200, Arjan van de Ven wrote:
> > ---
> > arch/x86_64/Kconfig | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
>
> Could this be supported on more than just x86_64, it seems fairly
> generic ?
yes, it could.
gcc supports stack protection at so called tree-level (it means
it's architecture-independent). i've just tested a simple userland-code:
#include <stdlib.h>
#include <string.h>
int main()
{
char c;
memset( &c, 0, 512 );
return 0;
}
and stack protection works fine on {ix86,x86-64,powerpc}-linux.
i can test it on {alpha,sparc}-linux later but i'm pretty sure
it'll work too on these archs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists