Created
July 30, 2020 13:15
-
-
Save luca020400/e6fc6a2689f3f5fb92e419b599f68860 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 411c82f3cdcc8338c3becca08b9b6da946b59ef2 Mon Sep 17 00:00:00 2001 | |
From: Luca Stefani <[email protected]> | |
Date: Thu, 30 Jul 2020 15:12:53 +0200 | |
Subject: [PATCH] ANDROID: GKI: Enable CONFIG_CGROUP_DEVICE | |
* This isn't strictly used in Android, but | |
Halium ( used by Ubuntu Touch, Plasma Mobile, etc ) | |
requires this option to control which processes | |
can create ( via mknod ) and/or access such devices | |
Signed-off-by: Luca Stefani <[email protected]> | |
Change-Id: I7f64346028b4a983f0c7f893500a416d82b630a0 | |
--- | |
arch/arm64/configs/gki_defconfig | 1 + | |
arch/x86/configs/gki_defconfig | 1 + | |
2 files changed, 2 insertions(+) | |
diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig | |
index 7def8815e1fd..7deba4c3bb2d 100644 | |
--- a/arch/arm64/configs/gki_defconfig | |
+++ b/arch/arm64/configs/gki_defconfig | |
@@ -21,6 +21,7 @@ CONFIG_CGROUP_SCHED=y | |
CONFIG_UCLAMP_TASK_GROUP=y | |
CONFIG_CGROUP_FREEZER=y | |
CONFIG_CPUSETS=y | |
+CONFIG_CGROUP_DEVICE=y | |
CONFIG_CGROUP_CPUACCT=y | |
CONFIG_CGROUP_BPF=y | |
CONFIG_NAMESPACES=y | |
diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig | |
index cdab01dd440f..b8ddac07e579 100644 | |
--- a/arch/x86/configs/gki_defconfig | |
+++ b/arch/x86/configs/gki_defconfig | |
@@ -22,6 +22,7 @@ CONFIG_CGROUP_SCHED=y | |
CONFIG_UCLAMP_TASK_GROUP=y | |
CONFIG_CGROUP_FREEZER=y | |
CONFIG_CPUSETS=y | |
+CONFIG_CGROUP_DEVICE=y | |
CONFIG_CGROUP_CPUACCT=y | |
CONFIG_CGROUP_BPF=y | |
CONFIG_NAMESPACES=y | |
-- | |
2.28.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment