DivestOS/Patches/Linux_CVEs/CVE-2016-3843/ANY/2.patch
2017-10-29 22:14:37 -04:00

31 lines
910 B
Diff

From 8fe72ba71e08fbc2c5a5d4985557247904d76054 Mon Sep 17 00:00:00 2001
From: Dennis Cagle <d-cagle@codeaurora.org>
Date: Mon, 15 Aug 2016 14:35:18 -0700
Subject: msm_defconfig: Enable config for b/29119870
Restriction of kernel performance events requires
a change to the defconfig.
Bug: 29119870
Change-Id: Ib7e565a52446e2dcae1aa8c561d4770f2762a4d7
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
---
arch/arm64/configs/msm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/msm_defconfig b/arch/arm64/configs/msm_defconfig
index 0473936..7755ea1 100644
--- a/arch/arm64/configs/msm_defconfig
+++ b/arch/arm64/configs/msm_defconfig
@@ -620,6 +620,7 @@ CONFIG_KERNEL_TEXT_RDONLY=y
CONFIG_KEYS=y
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
+CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y
CONFIG_LSM_MMAP_MIN_ADDR=4096
CONFIG_SECURITY_SELINUX=y
CONFIG_CRYPTO=y
--
cgit v1.1