commit | b4a4fa1be51357a8c6c58cb5a72c03421ebabf44 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Wed Jan 09 17:20:45 2019 -0800 |
committer | Chenbo Feng <fengc@google.com> | Tue Jan 29 19:25:02 2019 -0800 |
tree | f4ed8abfad1a7522a8442e9409debc8ca7dcd803 | |
parent | 48eaed3745017204667641bd71782674e032d682 [diff] |
Don't call into system_server for permissions check With the recently added permission information in traffic controller, netd can check if the calling process has permission UPDATE_DEVICE_STATS without calling into system_server. Update the code path and add some test cases for it. Bug: 111560570 Bug: 111560739 Test: netd_unit_test, netd_integration_test Change-Id: I79eee1321f32154e91466f023f7952db23df8494