From: Amit Pundir <amit.pundir@linaro.org>
To: Andrew Morton <akpm@linux-foundation.org>,
Rob Herring <robh@kernel.org>,
Greg KH <gregkh@linuxfoundation.org>,
John Stultz <john.stultz@linaro.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
Android Kernel Team <kernel-team@android.com>,
Jeff Vander Stoep <jeffv@google.com>
Subject: [PATCH v2 1/8] config: android-recommended: enable fstack-protector-strong
Date: Thu, 8 Jun 2017 18:09:09 +0530 [thread overview]
Message-ID: <1496925556-19417-2-git-send-email-amit.pundir@linaro.org> (raw)
In-Reply-To: <1496925556-19417-1-git-send-email-amit.pundir@linaro.org>
From: Jeff Vander Stoep <jeffv@google.com>
If compiler has stack protector support, set
CONFIG_CC_STACKPROTECTOR_STRONG.
Reviewed-at: https://android-review.googlesource.com/#/c/238388/
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
---
kernel/configs/android-recommended.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/configs/android-recommended.config b/kernel/configs/android-recommended.config
index 28ee064b6744..a86faa41bfd2 100644
--- a/kernel/configs/android-recommended.config
+++ b/kernel/configs/android-recommended.config
@@ -11,6 +11,7 @@ CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
+CONFIG_CC_STACKPROTECTOR_STRONG=y
CONFIG_COMPACTION=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_DM_CRYPT=y
--
2.7.4
next prev parent reply other threads:[~2017-06-08 12:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-08 12:39 [PATCH v2 0/8] kernel/configs: Android config fragment updates Amit Pundir
2017-06-08 12:39 ` Amit Pundir [this message]
2017-06-08 12:39 ` [PATCH v2 2/8] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN Amit Pundir
2017-06-08 12:39 ` [PATCH v2 3/8] config: android-base: disable CONFIG_USELIB and CONFIG_FHANDLE Amit Pundir
2017-06-08 12:39 ` [PATCH v2 4/8] config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN Amit Pundir
2017-06-08 12:39 ` [PATCH v2 5/8] config: android-base: add CONFIG_IKCONFIG option Amit Pundir
2017-06-08 12:39 ` [PATCH v2 6/8] config: android-base: add CONFIG_MODULES option Amit Pundir
2017-06-08 12:39 ` [PATCH v2 7/8] config: android-base: add CGROUP_BPF Amit Pundir
2017-06-08 12:39 ` [PATCH v2 8/8] config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS Amit Pundir
2017-06-09 9:46 ` [PATCH v2 0/8] kernel/configs: Android config fragment updates Greg KH
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=1496925556-19417-2-git-send-email-amit.pundir@linaro.org \
--to=amit.pundir@linaro.org \
--cc=akpm@linux-foundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=jeffv@google.com \
--cc=john.stultz@linaro.org \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.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®