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-07-01 11:00:07 +0000 |
commit | f996aa26326d9361772bc3fae1f9568efb44fc4d (patch) | |
tree | 65b4f6eeaad25099507a949aa75c0d96e8b1fb31 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | d83b6ce2aad41ee200f1bc769da2da323da05d09 (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 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions