Re: [PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2018-09-20 Thread Segher Boessenkool
Hi! On Mon, Sep 17, 2018 at 12:15:05PM +, Christophe Leroy wrote: > Now, GCC offers the possibility to manually set the > stack-protector mode (global or tls) regardless of libc support. Yup :-) > This time, the patch selects HAVE_STACKPROTECTOR only if > -mstack-protector-guard=global is

Re: [PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2018-09-17 Thread kbuild test robot
Hi Christophe, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v4.19-rc4 next-20180913] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2018-09-17 Thread Christophe Leroy
Partialy copied from commit c743f38013aef ("ARM: initial stack protector (-fstack-protector) support") This is the very basic stuff without the changing canary upon task switch yet. Just the Kconfig option and a constant canary value initialized at boot time. This patch was tentatively added in

Re: [PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-11-22 Thread Christophe LEROY
Le 17/11/2016 à 12:05, Michael Ellerman a écrit : Hi Michael, I took your comments into account in v2. Shame on me, I forgot to add the list of changes from v1 to v2 in the commit log. Christophe Christophe Leroy writes: diff --git

Re: [PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-11-17 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/include/asm/stackprotector.h > b/arch/powerpc/include/asm/stackprotector.h > new file mode 100644 > index 000..de00332 > --- /dev/null > +++ b/arch/powerpc/include/asm/stackprotector.h > @@ -0,0 +1,38 @@ > +/* > +

[PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-09-30 Thread Christophe Leroy
Partialy copied from commit c743f38013aef ("ARM: initial stack protector (-fstack-protector) support") This is the very basic stuff without the changing canary upon task switch yet. Just the Kconfig option and a constant canary value initialized at boot time. Cc: Nicolas Pitre