diff options
author | Tao Bao <tbao@google.com> | 2019-06-05 02:53:25 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-05 02:53:25 +0200 |
commit | 6c37304201b1605baea54a3462979f3693241aed (patch) | |
tree | fe3054b8464e37333955e3620d73764c41d5afc6 /minadbd | |
parent | Merge "Use icu4j instead of its deprecated legacy alias icu4j-host" (diff) | |
parent | Merge "minadbd: More allowed properties." (diff) | |
download | android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar.gz android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar.bz2 android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar.lz android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar.xz android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.tar.zst android_bootable_recovery-6c37304201b1605baea54a3462979f3693241aed.zip |
Diffstat (limited to 'minadbd')
-rw-r--r-- | minadbd/minadbd_services.cpp | 9 |
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) { |