diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-05-30 16:25:13 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-05-30 17:26:03 +0900 |
commit | 4895c50e4f8ba9ec76c01e0e3d177c2a04a78fc0 (patch) | |
tree | c8b6f69a1b4e65637873a21dc87f9f37ad4ff051 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2966db7c0a12ecb8c8fba9edc6322515fa740b72 (diff) |
Check system_server PID in NetworkStack calls
Add a check that callers with UID 1000 always have the same PID. This is
a proxy for checking that no system is designed to bind to the network
stack unless it is the system_server, as otherwise either the
system_server would start crashing, or that system would not have access
to binder calls.
Also remove access from PHONE_UID as it is not being used.
Test: Flashed, WiFi working, Bluetooth reverse tethering shows no
permission issue.
Bug: 133209255
Change-Id: Ib848aaaedfd599c1d4437378846c7dda74352019
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions