summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2018-08-24 12:16:17 -0700
committerNick Kralevich <nnk@google.com>2018-08-24 12:16:17 -0700
commit38e9f2320ad711303f168c19be259d89ae74df20 (patch)
tree83caf6a42acabd6bebc24f01785524510e29e856 /trusty/coverage/coverage.cpp
parente58548e5f57ae1b750df91d4bfc76f2a560fff23 (diff)
getevent: O_RDWR -> O_RDONLY | O_CLOEXEC
No need to open the device read write. Just open it read-only. This is a partial redo of https://android-review.googlesource.com/c/platform/system/core/+/334583 which was reverted in https://android-review.googlesource.com/c/platform/system/core/+/342483 Bug: 30861057 Test: ran getevent, saw correct output, played with device Change-Id: I426efd68f39dcd97d3ee23c13ed1a9ed96cb4c2e
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions