summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2020-03-24 17:57:50 -0400
committerTorne (Richard Coles) <torne@google.com>2020-03-25 12:39:59 -0400
commit89dea60b1768fc874098ce8617970703368ee563 (patch)
tree26d9b41356e45e3198067c3a46f7e8f902cae04b /startop/scripts/lib/cmd_utils.py
parent33d6fda1e0108ca34848bc9a88e421d91f828e08 (diff)
Don't include the data dir in zygote library paths.
When creating a LoadedApk in a zygote context (app zygote or WebView zygote), don't add the app's data dir to the list of paths the dynamic linker is allowed to load libraries from, because the linker's attempt to canonicalize the path causes SELinux access denials. The process can't access the data directory at all, so cannot load libraries from there in any case. Fixes: 149481620 Test: check for avc denials from webview_zygote Change-Id: I9aceecaf6067e748cc2251782b0f41661cbb35d8 Merged-In: I9aceecaf6067e748cc2251782b0f41661cbb35d8
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions