[PATCHv3][REBASED] arm64: Add CONFIG_CC_STACKPROTECTOR

Catalin Marinas catalin.marinas at arm.com
Thu Jul 10 02:22:28 PDT 2014


On Wed, Jun 25, 2014 at 11:55:03PM +0100, Laura Abbott wrote:
> arm64 currently lacks support for -fstack-protector. Add
> similar functionality to arm to detect stack corruption.
> 
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Acked-by: Kees Cook <keescook at chromium.org>
> Signed-off-by: Laura Abbott <lauraa at codeaurora.org>
> ---
>  arch/arm64/Kconfig                      |  1 +
>  arch/arm64/include/asm/stackprotector.h | 38 +++++++++++++++++++++++++++++++++
>  arch/arm64/kernel/process.c             |  6 ++++++
>  3 files changed, 45 insertions(+)
>  create mode 100644 arch/arm64/include/asm/stackprotector.h

Applied for 3.17. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list