From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Scott Wood <oss@buserror.net>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
Nicolas Pitre <nicolas.pitre@linaro.org>
Subject: [PATCH v2 0/2] powerpc: stack protector (-fstack-protector) support
Date: Tue, 22 Nov 2016 11:49:28 +0100 (CET) [thread overview]
Message-ID: <cover.1479742486.git.christophe.leroy@c-s.fr> (raw)
Add HAVE_CC_STACKPROTECTOR to powerpc. This is copied from ARM.
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 | 40 +++++++++++++++++++++++++++++++
arch/powerpc/kernel/Makefile | 4 ++++
arch/powerpc/kernel/asm-offsets.c | 3 +++
arch/powerpc/kernel/entry_32.S | 6 ++++-
arch/powerpc/kernel/process.c | 6 +++++
6 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644 arch/powerpc/include/asm/stackprotector.h
--
2.10.1
next reply other threads:[~2016-11-22 10:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-22 10:49 Christophe Leroy [this message]
2016-11-22 10:49 ` [PATCH v2 1/2] powerpc: initial " Christophe Leroy
2016-11-25 0:04 ` [v2, " Michael Ellerman
2016-11-22 10:49 ` [PATCH v2 2/2] powerpc/32: stack protector: change the canary value per task Christophe Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1479742486.git.christophe.leroy@c-s.fr \
--to=christophe.leroy@c-s.fr \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=nicolas.pitre@linaro.org \
--cc=oss@buserror.net \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®