commit | f9f30e3fd8157795a60b9b0c19b63e24da624dc4 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri May 29 18:31:15 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 29 18:31:15 2020 +0000 |
tree | bcb4c9061e235a0f77712ad52b5edcabda5ce527 | |
parent | 38789a8ba0dba264d64bc0c2cdbec9dc239a82ab [diff] | |
parent | b9a10a82912cb33f05d44f0d0d2744edf5bc2d25 [diff] |
Fix the side channel attack by using aysnc DnsResolver API with FLAG_NO_CACHE_STORE am: b9a10a8291 Change-Id: Ie270e165792609acb1e6ae6ba3329ba1488ef068
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.