pmb/config: check CROSS_MEMORY_ATTACH config required for Waydroid (MR 2140)

Without this syscall zygote keeps constantly crashing in the container.
This commit is contained in:
Jami Kettunen 2021-11-09 19:47:45 +02:00 committed by Jami Kettunen
parent 3987d2f764
commit b3d91f274d
No known key found for this signature in database
GPG Key ID: C4280ACB000B060F
2 changed files with 6 additions and 0 deletions

View File

@ -339,6 +339,11 @@ necessary_kconfig_options_anbox = {
"BRIDGE_VLAN_FILTERING": True,
}
},
">=3.5": {
"all": {
"CROSS_MEMORY_ATTACH": True, # required by Waydroid
}
},
">=4.20.0": {
"all": {
"PSI": True, # required by userspace OOM killer in Waydroid

View File

@ -55,3 +55,4 @@ CONFIG_BRIDGE_VLAN_FILTERING=y
# needed for bubblewrap
CONFIG_USER_NS=y
CONFIG_PSI=y
CONFIG_CROSS_MEMORY_ATTACH=y