summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorNandana Dutt <nandana@google.com>2018-07-12 17:02:57 +0100
committerNandana Dutt <nandana@google.com>2018-07-17 11:48:31 +0100
commit6647ef54ebfd5c1059ab89c6f965a7d55eee08c1 (patch)
treeacf65ce1b2ca16441b78e5c1afae997cfd607d84 /tools/aapt2/java/JavaClassGenerator.cpp
parent89b325a9b9127a43a96be1df1992a84404217d23 (diff)
Fix system server leaked fd dump
'lsof' was execed to dump the open file descriptors, but it does not have the same permissions as system_server, presumably due to SELinux restrcitions. Now we get a list of open file descriptors from /proc/<pid>/fd and resolve them via readlink, all inside system_server. Test: Manually tested on a device and compared with the output of adb lsof. Change-Id: I4db8369a3a2bb0009c776277a8a6f92f72857ef8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions