aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Tjin <pattjin@google.com>2015-10-13 15:33:35 -0700
committerPatrick Tjin <pattjin@google.com>2015-11-13 08:39:53 -0800
commitcb30e61a6d163e89a0fd44feb301028187052578 (patch)
tree3e826355bcab931d4fc07228d024307a317c1575
parentbd91fe6da8fd69c8e0b3e6f8bfbfcffdbda08512 (diff)
arm/configs: flo: Remove SysV IPC from kernelandroid-5.1.1_r0.25
System V IPCs are not compliant with Android's application lifecycle because allocated resources are not freeable by the low memory killer. This lead to global kernel resource leakage. For example, there is no way to automatically release a SysV semaphore allocated in the kernel when: - a buggy or malicious process exits - a non-buggy and non-malicious process crashes or is explicitly killed. Killing processes automatically to make room for new ones is an important part of Android's application lifecycle implementation. This means that, even assuming only non-buggy and non-malicious code, it is very likely that over time, the kernel global tables used to implement SysV IPCs will fill up. Bug: 24551430 Bug: 22300191 Signed-off-by: Patrick Tjin <pattjin@google.com> Change-Id: I98d592819974acbd5fb47d526ed1ce3700ae1bd5
-rw-r--r--arch/arm/configs/flo_defconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/configs/flo_defconfig b/arch/arm/configs/flo_defconfig
index 8f76cd3a8c1b..f78e2f1d7ffe 100644
--- a/arch/arm/configs/flo_defconfig
+++ b/arch/arm/configs/flo_defconfig
@@ -1,7 +1,6 @@
# CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_EXPERIMENTAL=y
# CONFIG_SWAP is not set
-CONFIG_SYSVIPC=y
CONFIG_AUDIT=y
CONFIG_IKCONFIG=y
CONFIG_CGROUPS=y
@@ -13,7 +12,6 @@ CONFIG_CGROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set