summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2018-01-24 19:53:52 +0000
committerPrimiano Tucci <primiano@google.com>2018-01-24 19:56:44 +0000
commita74556061ab5257c39a0ba752410da8fbdadd175 (patch)
tree7ef8f47a1e60ef8dc6bffd50a630dc80cde54bdb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent32f891dae34a123a0ae444a291262332040c7754 (diff)
Fix Perfetto.cpp to silence SELinux warnings
Turns out that statsd leaves some file descriptors opened without the O_CLOEXEC flag. This CL mass-closes file descriptors up to a realistic number of FDs. This is to avoid SELinux complaining about perfetto accessing these files from the statsd domain. With this change perfetto works with statsd without disabling SELinux. Relevant SELinux CL: https://android-review.googlesource.com/c/platform/system/sepolicy/+/598774 Change-Id: I745d621937fbc9b20a4c733948cd0dd24dd6e8b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions