[all-commits] [llvm/llvm-project] fabd16: [lldb][Android] Add platform.plugin.remote-android...
Kazuki Sakamoto via All-commits
all-commits at lists.llvm.org
Tue Jun 20 16:39:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fabd16c7460e6cfae3106155ec79142bfa54db2e
https://github.com/llvm/llvm-project/commit/fabd16c7460e6cfae3106155ec79142bfa54db2e
Author: Kazuki Sakamoto <sakamoto at splhack.org>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M lldb/source/Plugins/Platform/Android/CMakeLists.txt
M lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
M lldb/source/Plugins/Platform/Android/PlatformAndroid.h
A lldb/source/Plugins/Platform/Android/PlatformAndroidProperties.td
M lldb/unittests/Platform/Android/PlatformAndroidTest.cpp
Log Message:
-----------
[lldb][Android] Add platform.plugin.remote-android.package-name
When LLDB fails to pull file from a package directory due to security
constraint, user needs to set the package name to
'platform.plugin.remote-android.package-name' property to run shell commands
as the package user. (e.g. to get file with 'cat' and 'dd').
https://cs.android.com/android/platform/superproject/+/master:
system/core/run-as/run-as.cpp;l=39-61;
drc=4a77a84a55522a3b122f9c63ef0d0b8a6a131627
Differential Revision: https://reviews.llvm.org/D152933
More information about the All-commits
mailing list