Re: [patch 2/5] Add the Kconfig option for the stackprotectorfeature

From: Arjan van de Ven
Date: Fri Jul 28 2006 - 13:24:36 EST


On Fri, 2006-07-28 at 19:13 +0200, PaweÅ Sikora wrote:
>
> 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:

in userland it works, no question about that.
The problem comes when you want to use this userland abi in kernel
space; for x86-64 it could be done by a 20 line gcc patch, on some other
architectures... it's going to be really incredibly hard.

I'd have loved to make this more generic... but the mechanism behind
this technology on the gcc side is very architecture specific.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/