summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-05 04:56:00 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-05 04:56:00 +0200
commit5726cbc18420c3b2722a68ebc10acb5c39d2052f (patch)
treed94df98133c6ec34d34f2e0b16d6b7dbf505692a
parentMerge "Use icu4j instead of its deprecated legacy alias icu4j-host" am: 14bc5e1feb am: af4d1dda03 (diff)
parentMerge "minadbd: More allowed properties." am: 1ef7f92871 (diff)
downloadandroid_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar.gz
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar.bz2
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar.lz
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar.xz
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.tar.zst
android_bootable_recovery-5726cbc18420c3b2722a68ebc10acb5c39d2052f.zip
-rw-r--r--minadbd/minadbd_services.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/minadbd/minadbd_services.cpp b/minadbd/minadbd_services.cpp
index 8f2b71aa1..5eda73e40 100644
--- a/minadbd/minadbd_services.cpp
+++ b/minadbd/minadbd_services.cpp
@@ -158,8 +158,15 @@ static void RescueInstallHostService(unique_fd sfd, const std::string& args) {
static void RescueGetpropHostService(unique_fd sfd, const std::string& prop) {
static const std::unordered_set<std::string> kGetpropAllowedProps = {
- "ro.build.fingerprint",
"ro.build.date.utc",
+ "ro.build.fingerprint",
+ "ro.build.flavor",
+ "ro.build.id",
+ "ro.build.product",
+ "ro.build.tags",
+ "ro.build.version.incremental",
+ "ro.product.device",
+ "ro.product.vendor.device",
};
auto allowed = kGetpropAllowedProps.find(prop) != kGetpropAllowedProps.end();
if (!allowed) {