[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1496925556-19417-2-git-send-email-amit.pundir@linaro.org>
Date: Thu, 8 Jun 2017 18:09:09 +0530
From: Amit Pundir <amit.pundir@...aro.org>
To: Andrew Morton <akpm@...ux-foundation.org>,
Rob Herring <robh@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>,
John Stultz <john.stultz@...aro.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Android Kernel Team <kernel-team@...roid.com>,
Jeff Vander Stoep <jeffv@...gle.com>
Subject: [PATCH v2 1/8] config: android-recommended: enable fstack-protector-strong
From: Jeff Vander Stoep <jeffv@...gle.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@...gle.com>
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pundir@...aro.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
Powered by blists - more mailing lists