summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-11-26 23:42:25 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-11-27 15:35:38 +0900
commitfeda5907f2e343724efc2ad3cfbebc443dbb0470 (patch)
tree30c739f9f0b78a581955d2c46e32136bb4519b28 /startop/scripts/lib/cmd_utils.py
parent45feed9b00393b0ed2a43dc569f4addc11903627 (diff)
Clear calling identity in registerNetworkAgent.
Much of registerNetworkAgent calls internal ConnectivityService methods which generally assume that they are not processing an IPC and are running under the system's calling identity. However, only the call to makeNetworkMonitor is run with caller identity cleared. Expand the scope of clearing the caller identity over the creation of the nai. Bug: 173331190 Test: passes existing tests in ConnectivityServiceTest Change-Id: Icad28601a612fb5e1ed0451ec9e2066f4e766d0e
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions