From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934221AbcI3QjI (ORCPT ); Fri, 30 Sep 2016 12:39:08 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:42595 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934112AbcI3Qim (ORCPT ); Fri, 30 Sep 2016 12:38:42 -0400 Subject: Re: [PATCH 0/2] powerpc: stack protector (-fstack-protector) support To: Denis Kirjanov References: Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , Nicolas Pitre , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" From: Christophe LEROY Message-ID: <75290c3d-e2e8-52fc-043f-dcec645095f8@c-s.fr> Date: Fri, 30 Sep 2016 18:38:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 30/09/2016 à 18:26, Denis Kirjanov a écrit : > > > On Friday, September 30, 2016, Christophe Leroy > wrote: > > Add HAVE_CC_STACKPROTECTOR to powerpc. This is copied from ARM. > > Not tested on PPC64, compile ok with ppc64_ > > > Hi Christophe, > > are you going to test it on ppc64? If not, I can take it Thanks Denis, you are welcome to test it. I don't have any ppc64 target, I only have mpc8xx and mpc83xx which both are ppc32 Christophe > > > > Christophe Leroy (2): > powerpc: initial stack protector (-fstack-protector) support > powerpc/32: stack protector: change the canary value per task > > arch/powerpc/Kconfig | 1 + > arch/powerpc/include/asm/stackprotector.h | 38 > +++++++++++++++++++++++++++++++ > arch/powerpc/kernel/Makefile | 5 ++++ > arch/powerpc/kernel/asm-offsets.c | 3 +++ > arch/powerpc/kernel/entry_32.S | 6 ++++- > arch/powerpc/kernel/process.c | 6 +++++ > 6 files changed, 58 insertions(+), 1 deletion(-) > create mode 100644 arch/powerpc/include/asm/stackprotector.h > > -- > 2.1.0 >