aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2016-01-30 07:36:20 -0800
committerJeff Vander Stoep <jeffv@google.com>2016-01-30 07:36:20 -0800
commit7770981554ead4f1c246df510bd299dec112d7f3 (patch)
tree6ff030ca61c5949f892ecde4ae2d92fb7174f5f7
parentc0e6b254ce11336085d536e2ab184012fb8c7583 (diff)
downloadhikey-linaro-7770981554ead4f1c246df510bd299dec112d7f3.tar.gz
hikey_defconfig: remove SYSVIPC
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: 22300191 Bug: 24551430 Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
-rw-r--r--arch/arm64/configs/hikey_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/configs/hikey_defconfig b/arch/arm64/configs/hikey_defconfig
index 7500a62cedf6..4ad18f050816 100644
--- a/arch/arm64/configs/hikey_defconfig
+++ b/arch/arm64/configs/hikey_defconfig
@@ -1,5 +1,4 @@
CONFIG_LOCALVERSION_AUTO=y
-CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_FHANDLE=y
CONFIG_AUDIT=y