summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@google.com>2016-08-15 15:21:09 -0400
committerRobert Sesek <rsesek@google.com>2016-09-21 11:17:38 -0400
commitbfa1f8dcfe2a6172709928768143299ddb7627eb (patch)
treee2be8a78edb83b0da34f77697405aa53f9962e32 /compiler/optimizing/optimizing_compiler.cc
parent8cb366a7ba8f02094c7c3bd21e217fff52f6ad17 (diff)
Add CanWriteToDalvikCache() check before writing a boot marker or image cache.
A new zygote process, the webview_zygote, will spawn isolated_app children, but the process itself does not run as root and cannot write to the dalvik cache. In order to not print SELinux avc errors, check for file-write permission when testing to see if a boot marker or cache image or should be written. Test: m test-art Test: angler boots Bug: 21643067 Change-Id: I9f797fe7332a21ef4c6b83d2210b1673af09de1b
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions