Re: [PATCH 1/1] POWERPC: Fix ppc32 compile with gcc+SSP in 2.6.16

From: John Mylchreest
Date: Sun Apr 02 2006 - 06:59:23 EST


On Sun, Apr 02, 2006 at 12:28:15PM +0200, Olaf Hering <olh@xxxxxxx> wrote:
> On Sun, Apr 02, John Mylchreest wrote:
>
> > BOOTLD arch/powerpc/boot/zImage.vmode
> > arch/powerpc/boot/prom.o(.text+0x19c): In function `call_prom':
> > : undefined reference to `__stack_smash_handler'
>
> Any this strange "security feature" is disabled by defining __KERNEL__?

That correct, yes. SSP is actually used by quite a lot of vendors, and
shouldn't be used outside of userland. Typically speaking it isn't, but
in this case its being leaked.

I've also heard some strange reports with ppc32 and 2.6.16 not
decompressing properly all of the time which might be related. I've not
been able to recreate this, nor heard any feedback yet.

--
Role: Gentoo Linux Kernel Lead
Gentoo Linux: http://www.gentoo.org
Public Key: gpg --recv-keys 9C745515
Key fingerprint: A0AF F3C8 D699 A05A EC5C 24F7 95AA 241D 9C74 5515

Attachment: pgp00000.pgp
Description: PGP signature