Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c14d345 authored by Divya Sharma's avatar Divya Sharma
Browse files

defconfig: msm: 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: I8aaa2a6396655f762bbf6bc16d5d388df414359a
Signed-off-by: default avatarDivya Sharma <divyas@codeaurora.org>
parent 9f4d3e23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -439,6 +439,7 @@ CONFIG_MSM_PIL_MSS_QDSP6V5=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_PERFORMANCE=y
# CONFIG_MSM_PERFORMANCE_HOTPLUG_ON is not set
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_MDSS_PLL=y
CONFIG_REMOTE_SPINLOCK_MSM=y
+1 −0
Original line number Diff line number Diff line
@@ -453,6 +453,7 @@ CONFIG_MSM_PIL_MSS_QDSP6V5=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_PERFORMANCE=y
# CONFIG_MSM_PERFORMANCE_HOTPLUG_ON is not set
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_MDSS_PLL=y
CONFIG_REMOTE_SPINLOCK_MSM=y
+1 −0
Original line number Diff line number Diff line
@@ -414,6 +414,7 @@ CONFIG_MSM_PIL_MSS_QDSP6V5=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_PERFORMANCE=y
# CONFIG_MSM_PERFORMANCE_HOTPLUG_ON is not set
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_MDSS_PLL=y
CONFIG_REMOTE_SPINLOCK_MSM=y
+1 −0
Original line number Diff line number Diff line
@@ -417,6 +417,7 @@ CONFIG_MSM_PIL_MSS_QDSP6V5=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_PERFORMANCE=y
# CONFIG_MSM_PERFORMANCE_HOTPLUG_ON is not set
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_MDSS_PLL=y
CONFIG_REMOTE_SPINLOCK_MSM=y
+1 −0
Original line number Diff line number Diff line
@@ -415,6 +415,7 @@ CONFIG_MSM_PIL_MSS_QDSP6V5=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_PERFORMANCE=y
# CONFIG_MSM_PERFORMANCE_HOTPLUG_ON is not set
CONFIG_QCOM_EARLY_RANDOM=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_MDSS_PLL=y
CONFIG_REMOTE_SPINLOCK_MSM=y
Loading