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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On Sun, Apr 02, John Mylchreest wrote:

> On Sun, Apr 02, 2006 at 12:28:15PM +0200, Olaf Hering <[email protected]> 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.

Either way, file a bugreport upstream to remove the dep on __KERNEL__ in
the gcc patch.

A patch which adds -fno-dumb-feature to CFLAGS may be acceptable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux