commit | 86c4aff4ae69bed663c1bd425787ae6591e4251d | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Thu Feb 07 19:30:33 2019 -0800 |
committer | Chenbo Feng <fengc@google.com> | Wed Feb 13 12:30:29 2019 -0800 |
tree | 096e94ba21962c5da0c8fb208dec8d06916fef70 | |
parent | 4fe1b9c0640d079288fe8642869e89290cc368d4 [diff] |
Always allow root uid to update device stats root uid should always have android.permission.UPDATE_DEVICE_STATS, so we skip the permission check if the calling uid is 0. The request from root uid will not get blocked even if the framework doesn't pass down the correct permission. Bug: 111560570 Test: netd_integration_test Change-Id: Idb535f02faadc3e0cb3c14b18e82742aa8976fac