summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2018-12-12 12:57:50 +0100
committerTodd Kennedy <toddke@google.com>2018-12-13 14:54:39 -0800
commitf361123c871ea984023032b725f7f80c9e13f8a3 (patch)
tree050e661ca4822e5a5284e33734c06654567ab085 /libs/hwui/renderthread/CacheManager.cpp
parent93f07e207ab3534251c851dbfbfe242a5c72a0d6 (diff)
Continue process boot even if 'idmap2 --scan' fails
Relax the requirement on 'idmap2 --scan' to exit normally (as defined by WIFEXITED) when starting a process. This allows the process to continue booting, but with the caveat that no static="true" overlays targeting "android" will be loaded. The booting process is usually Zygote but can be an app that uses a wrap.sh script (see https://d.android.com/ndk/guides/wrap-script). Because SELinux rules prevent most processes from executing /system/bin/idmap2, 'idmap2 --scan' will fail for "wrapped" apps. Bug: 120854885 Test: atest CtsWrapWrapDebugTestCases CtsWrapWrapDebugMallocDebugTestCases Change-Id: I85225cbcdd945f0026879e89f481d733217825d5
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions