diff options
author | Christopher Tate <ctate@google.com> | 2021-06-07 15:02:45 -0700 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-30 23:58:49 +0000 |
commit | 4241ab5ee435ee3c5e6496c001b2cf5bc827cfc4 (patch) | |
tree | 65b4f6eeaad25099507a949aa75c0d96e8b1fb31 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7f39ba09b8ccad2ae50874d3643cdc93746391ea (diff) |
Fix side effects of trace-ipc and dumpheap commands
These shell commands were implicitly deleting any client-named file for
which the system uid had deletion capability. They no longer do this,
instead using only the client's own capabilities and file manipulation
modes.
Bug: 185398942
Test: manual "adb shell cmd activity dumpheap system_server /data/system/last-fstrim"
Test: atest CtsPermissionTestCases:ShellCommandPermissionTest
Change-Id: Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f
(cherry picked from commit 76e8e04703cb49a4984145a18f4552c4bcf72172)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions