diff options
author | Alan Stokes <alanstokes@google.com> | 2020-07-21 17:38:59 +0100 |
---|---|---|
committer | Alan Stokes <alanstokes@google.com> | 2020-07-23 11:27:59 +0100 |
commit | e8527305da97b3cf6bf14585723dc23e3cf70c00 (patch) | |
tree | 352d3099e9b13b5ac6d2acf043fce65798fff8d6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a52c5f87692919191e9200447ed3f2b5845657f9 (diff) |
Don't include inaccessible data dirs in library paths.
When constructing a classloader for a different app, don't include
it's private data dir in libraryPermittedPath if we don't have access
to it. (Which we often won't, although it depends on target SDK,
whether it has a shared UID, etc.)
This avoids generating SELinux denials at boot and other times,
e.g. when initialising WebView.
Bug: 161356067
Test: Boots, denials not seen, WebView works.
Change-Id: Ib246af979783e80fde3313f8aed6c3b7a886e6b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions