Skip to content
Snippets Groups Projects
Commit 4afb8d05 authored by Patrick Tjin's avatar Patrick Tjin
Browse files

arm/configs: shamu: remove SysV IPC from kernel


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: default avatarPatrick Tjin <pattjin@google.com>
Change-Id: Ib3ae565ccb75bb90e337742969e40b05ca71847f
parent 2087affd
No related branches found
No related tags found
No related merge requests found
# CONFIG_ARM_PATCH_PHYS_VIRT is not set # CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_BOOTINFO=y CONFIG_BOOTINFO=y
CONFIG_SYSVIPC=y
CONFIG_AUDIT=y CONFIG_AUDIT=y
# CONFIG_AUDITSYSCALL is not set # CONFIG_AUDITSYSCALL is not set
CONFIG_NO_HZ=y CONFIG_NO_HZ=y
...@@ -16,7 +15,6 @@ CONFIG_CGROUP_SCHED=y ...@@ -16,7 +15,6 @@ CONFIG_CGROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y
CONFIG_NAMESPACES=y CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set # CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_PID_NS is not set # CONFIG_PID_NS is not set
CONFIG_RELAY=y CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y CONFIG_BLK_DEV_INITRD=y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment