commit | 469b633500d80dd29bb33b06354d44222f39a666 | [log] [tgz] |
---|---|---|
author | Tobias Thierer <tobiast@google.com> | Wed Aug 28 20:25:33 2019 +0100 |
committer | Tobias Thierer <tobiast@google.com> | Tue Sep 24 11:41:04 2019 +0100 |
tree | a1c5dcbd4a2c062f78d3d9ba6cfa4b10eb773ca4 | |
parent | f1e707cf47f9dc2edc98f7e57460eefde4922a5f [diff] |
DnsResolver: make libcrypto a shared lib. A statically linked libcrypto's self test will not succeed because the linker step (symbol relocations etc.) will change the checksum. Since libssl is also provided by boringssl, we're giving it the same treatment for consistency. Note that the DnsResolver module carries its own copies of these shared libraries on-device: $ adb shell 'su 0 find /apex/com.android.resolv/ -name "*.so"' /apex/com.android.resolv/lib64/libnetd_resolv.so /apex/com.android.resolv/lib64/libcrypto.so /apex/com.android.resolv/lib64/libssl.so Bug: 137267623 Test: Treehugger Change-Id: Ia418f379b7a8c8ede6539ce735a19c7f284bbce7
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.