diff options
| author | 2020-02-27 03:30:03 -0800 | |
|---|---|---|
| committer | 2020-02-27 12:29:30 +0000 | |
| commit | 614105b3731a0e40083655fd15bdf2a9ddc10f35 (patch) | |
| tree | 6fe565c978d8c3be9669e51932be6131c5935f32 /libs/androidfw/DynamicLibManager.cpp | |
| parent | 9651ab2de415b8438cb892e693f3561beea50d18 (diff) | |
Add context UID to package-name-based permission query
The code for caching permission queries incorrectly used the UID of
the calling process instead of the Context UID when asking
PermissionManagerService whether a package (identified by name) has a
permission. As a result, permission checks produced incorrect results
for certain cross-user scenarios. This CL makes the checking UID part
of the package-name-based permission query.
Test: atest com.android.car.VmsPublisherSubscriberTest
Bug: 150172373
Bug: 150025558
Bug: 150140220
Change-Id: I903a9e79fbbba97ea987120066817eeea9b01d51
Diffstat (limited to 'libs/androidfw/DynamicLibManager.cpp')
0 files changed, 0 insertions, 0 deletions