summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-03 21:10:54 +0200
committerTao Bao <tbao@google.com>2019-06-06 08:28:10 +0200
commit7a31ab675e30de858c690dcff8f1daf447358dae (patch)
tree5e479a70e63301137074c818c4a74e7487286a24 /minadbd
parentAdd misc_writer. (diff)
downloadandroid_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar.gz
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar.bz2
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar.lz
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar.xz
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.tar.zst
android_bootable_recovery-7a31ab675e30de858c690dcff8f1daf447358dae.zip
Diffstat (limited to 'minadbd')
-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 1c4c0f494..e271c36fe 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) {