diff options
author | 2023-03-07 11:58:50 +1100 | |
---|---|---|
committer | 2023-03-21 10:08:21 +1100 | |
commit | 9ef4ab185a261ccb9d317e6e01ed9da15fe1d39e (patch) | |
tree | 3ec006d28453a1efe911f94c10faef8b7f14373d /api/api.go | |
parent | 1e49f5d23148268f22352c7ae3f8858a0f3847d2 (diff) |
Support uid/pid in PermissionEnforcer
For permissions without an AppOp, there is no need to create an
AttributionSource. Add variants for enforcePermission{,AnyOf,AllOf} to
accept a uid/pid instead of an AttributionSource.
Bug: 269684922
Test: atest EnforcePermissionTests
Change-Id: I308f055e9d7b378cbb84a7a8e5d2eb5f8aea4850
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions