[hardening-discuss] Bug#635642: Bug#635642: hardening-includes: armel doesn't use stack protector

Kees Cook kees at debian.org
Thu Jul 28 20:02:55 UTC 2011


On Wed, Jul 27, 2011 at 10:17:32PM +0200, Raphaël Hertzog wrote:
> While reading the makefile I came across this:
> ifneq (,$(filter $(DEB_HOST_ARCH_CPU), ia64 alpha mips mipsel hppa arm ))
>   # Stack protector disabled on ia64, alpha, mips, mipsel, hppa.
>   #   "warning: -fstack-protector not supported for this target"
>   # Stack protector disabled on arm (ok on armel).
>   #   compiler supports it incorrectly (leads to SEGV)
>   DEB_BUILD_HARDENING_STACKPROTECTOR ?= 0
> endif
> 
> But the check is on the _CPU variable which returns "arm" both for "arm"
> and "armel":

Ah! Excellent catch. I'll fix this in the next upload.

Thanks!

-Kees

-- 
Kees Cook                                            @debian.org





More information about the hardening-discuss mailing list