commit | 5d50ce8181a947ffbdd0322d20e2d440a65989f6 | [log] [tgz] |
---|---|---|
author | Benedict Wong <benedictwong@google.com> | Mon Jan 20 22:14:59 2020 -0800 |
committer | Benedict Wong <benedictwong@google.com> | Fri Feb 14 00:09:47 2020 -0800 |
tree | 2494985ca2ac01fa0fa4d2cc786f15f3702141a4 | |
parent | 77e6024c0168164dbaec39fe3f35863d1aa0eb95 [diff] |
Enforce restricted user, getConnectionOwnerUid checks This CL adds checks to ensure restricted users cannot change or start/stop platform VPNs. In addition, this also adds checks to the ConnectivityManager#getConnectionOwnerUid() to ensure that only VpnService based VPNs can identify connections Bug: 148040659 Test: FrameworksNetTests run Change-Id: Id47ada5766036bfc84f3ba47f66f2d2683af916d