defconfig: msmcortex: Enable early random driver

Stack canary relies on getting early random values. However, the
software random number generator is initialized relatively late in the
boot process making the stack canary very predictable.

Enable the hardware supported random number generator until
the software number generator is enabled later in boot.

Change-Id: I01dc0cc0d0fc734dbf1166d88d97bcc5102788bb
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
Olav Haugan 2016-10-05 17:26:21 -07:00
parent e710a23320
commit 2508d92091
2 changed files with 2 additions and 0 deletions

View file

@ -532,6 +532,7 @@ CONFIG_MSM_RPM_LOG=y
CONFIG_MSM_RPM_STATS_LOG=y
CONFIG_QSEE_IPC_IRQ_BRIDGE=y
CONFIG_QCOM_SMCINVOKE=y
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_QCOM_BIMC_BWMON=y
CONFIG_ARM_MEMLAT_MON=y

View file

@ -551,6 +551,7 @@ CONFIG_MSM_RPM_LOG=y
CONFIG_MSM_RPM_STATS_LOG=y
CONFIG_QSEE_IPC_IRQ_BRIDGE=y
CONFIG_QCOM_SMCINVOKE=y
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_QCOM_BIMC_BWMON=y
CONFIG_ARM_MEMLAT_MON=y