commit | e951685dc37240f2cbda7bd3385c16014aacbd5a | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed Jun 17 12:09:06 2020 +0000 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jun 17 13:47:16 2020 +0000 |
tree | a863866a4f483542de0fcf371e7a2c6e759cdbb7 | |
parent | 3665a1c991063a4531c93f3d0ccaa3154d3da3e6 [diff] |
Allow only AID_ROOT to inject certificate Explicitly specify AID_ROOT as the only uid that can inject certificate. Bug: 150952393 Test: atest Original-Change: https://android-review.googlesource.com/1339796 Merged-In: If71c0171bc4347979e278752fc49877359f056b7 Change-Id: If71c0171bc4347979e278752fc49877359f056b7
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.