commit | 70e2072b761b46515d78e480715ea7005a7cbe3a | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri May 29 18:44:27 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 29 18:44:27 2020 +0000 |
tree | bcb4c9061e235a0f77712ad52b5edcabda5ce527 | |
parent | 95a649d282a49f240f2797852f36d1a7c90feec4 [diff] | |
parent | d6627fbbfce830921b9feb9a24b6d563681ac7c0 [diff] |
Fix the side channel attack by using aysnc DnsResolver API with FLAG_NO_CACHE_STORE am: b9a10a8291 am: d6627fbbfc Change-Id: I335296806b48bf9e50bd617fc009fd94ac7fb739
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.