diff options
author | Christopher Tate <ctate@google.com> | 2021-06-07 15:02:45 -0700 |
---|---|---|
committer | Chris Tate <ctate@android.com> | 2021-06-15 16:49:08 +0000 |
commit | 76e8e04703cb49a4984145a18f4552c4bcf72172 (patch) | |
tree | 6a6c0368f960ecb9b0b79223add3194feb3adca7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dd894ae859bcb9d852fce4a979236285fe783e5b (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions