diff options
author | Ken Chen <cken@google.com> | 2021-04-14 18:33:58 +0800 |
---|---|---|
committer | Ken Chen <cken@google.com> | 2021-04-16 05:48:47 +0000 |
commit | 81b55fbe8c5450fc37693ba609981d4bdeb5b671 (patch) | |
tree | f20d93cd980ab5ee6382d96196b03b6822b5d47c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 51e5e8087635cfcc1581953cc3f3e65d6e5c7f53 (diff) |
Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell
The shell *already had* the privileges granted by this permission due to
specific code in netd, and it lost those privileges when it gained the
CHANGE_NETWORK_STATE permission. Explicitly add
CONNECTIVITY_USE_RESTRICTED_NETWORKS so that it can obtain sufficient
permission in netd no matter CHANGE_NETWORK_STATE is set or not.
Remove a duplicate row by the way.
Bug: 185071689
Test: atest NetdClientTest#protectFromVpnTcp6
Change-Id: I64bc321de2c83378ce7bc8d9eb3044ae7772faca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions