Skip to content

Commit

Permalink
config: android-recommended: enable fstack-protector-strong
Browse files Browse the repository at this point in the history
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 <[email protected]>
[AmitP: cherry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jeffvanderstoep authored and gregkh committed Jun 9, 2017
1 parent 248fa51 commit 67e707b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/configs/android-recommended.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67e707b

Please sign in to comment.