diff options
author | Andreas Gampe <agampe@google.com> | 2016-04-05 10:26:42 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-04-05 14:10:37 -0700 |
commit | acc1be3c215c1913eec783334f6a5e9af9286766 (patch) | |
tree | 11e1efbb8bab15f15e6aa920ff229e9992fa2ee3 /compiler/optimizing/graph_visualizer.cc | |
parent | 96de6c36efd328b3c5a7e4bb8f32ab340cce3efe (diff) |
ART: Don't attempt write flock if not zygote
When loading an image, don't attempt a RDWR flock if the process
is not the zygote. The lock will be rejected as the process does
not have permission to write the file.
Bug: 28011897
(cherry picked from commit fff377b13469b8c84ce55ee20b10ca80a5a0813d)
Change-Id: I567934c4e9a9a13e9131711240e9ecfdd58b69f7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions