DivestOS/Patches/Linux_CVEs/CVE-2017-0583/3.10/0001.patch
2017-11-07 17:32:46 -05:00

59 lines
2.0 KiB
Diff

From b8f70068650a6e6bef0a41de2e30c17087d3a84d Mon Sep 17 00:00:00 2001
From: Srinivasarao P <spathi@codeaurora.org>
Date: Tue, 14 Feb 2017 13:52:08 +0530
Subject: defconfig: disable cp_access
cpaccess module gives userspace control over system control
registers so disable cp_access module.
Change-Id: Ib49412957f91ce65f4350c5c72358b1c53eed43e
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
---
arch/arm/configs/msm8916-perf_defconfig | 2 +-
arch/arm/configs/msm8916_defconfig | 2 +-
arch/arm64/configs/msm_defconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/configs/msm8916-perf_defconfig b/arch/arm/configs/msm8916-perf_defconfig
index 08a43de..94d2321 100644
--- a/arch/arm/configs/msm8916-perf_defconfig
+++ b/arch/arm/configs/msm8916-perf_defconfig
@@ -64,7 +64,7 @@ CONFIG_AEABI=y
CONFIG_BALANCE_ANON_FILE_RECLAIM=y
CONFIG_HIGHMEM=y
CONFIG_ENABLE_VMALLOC_SAVING=y
-CONFIG_CP_ACCESS=y
+# CONFIG_CP_ACCESS is not set
CONFIG_AUTO_ZRELADDR=y
CONFIG_ARM_DECOMPRESSOR_LIMIT=0x3200000
CONFIG_SCHED_FREQ_INPUT=y
diff --git a/arch/arm/configs/msm8916_defconfig b/arch/arm/configs/msm8916_defconfig
index b7caf59..30a81e3 100644
--- a/arch/arm/configs/msm8916_defconfig
+++ b/arch/arm/configs/msm8916_defconfig
@@ -62,7 +62,7 @@ CONFIG_AEABI=y
CONFIG_BALANCE_ANON_FILE_RECLAIM=y
CONFIG_HIGHMEM=y
CONFIG_ENABLE_VMALLOC_SAVING=y
-CONFIG_CP_ACCESS=y
+# CONFIG_CP_ACCESS is not set
CONFIG_AUTO_ZRELADDR=y
CONFIG_ARM_DECOMPRESSOR_LIMIT=0x3200000
CONFIG_SCHED_FREQ_INPUT=y
diff --git a/arch/arm64/configs/msm_defconfig b/arch/arm64/configs/msm_defconfig
index 4a26793..d8e8a826 100644
--- a/arch/arm64/configs/msm_defconfig
+++ b/arch/arm64/configs/msm_defconfig
@@ -528,7 +528,7 @@ CONFIG_CORESIGHT_REMOTE_ETM=y
CONFIG_CORESIGHT_QPDI=y
CONFIG_SENSORS=y
CONFIG_SENSORS_SSC=y
-CONFIG_CP_ACCESS64=y
+# CONFIG_CP_ACCESS64 is not set
CONFIG_MSM_GLADIATOR_ERP=y
CONFIG_MSM_BAM_DMUX=y
CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y
--
cgit v1.1