summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Sumedh Sen <sumedhsen@google.com> 2024-10-03 18:35:13 +0000
committer Sumedh Sen <sumedhsen@google.com> 2025-01-07 16:32:14 -0800
commit09e1305514e53ed73c9bcc79d25ccf77f623e6b0 (patch)
treebae0634ce11638d916bb0ae4697472998c370ecf /ravenwood/scripts/extract-last-soong-commands.py
parentec5b02f0c151d01a2565b4d9788297a4b671393f (diff)
[RESTRICT AUTOMERGE] Check cross user permissions for a given UID
Instead of relying on Context#checkCallingOrSelfPermission, explicitly check permissions against a given UID. However, to maintain legacy behavior, replace custom UIDs with Binder.getCallingUid when enforcing permissions from a method. Also update tests affected by this change - by adding methods to mocked objects Bug: 350456241 Test: sts-tradefed run sts-dynamic-develop -m CtsSecurityTestCases -t android.security.cts.ContentProviderMultiUserTests#testAccessFromInitialUser --user-type PRIMARY Test: sts-tradefed run sts-dynamic-develop -m CtsSecurityTestCases -t android.security.cts.ContentProviderMultiUserTests --user-type SECONDARY Change-Id: Ib31cabff5714500471bd397c743e127c85751a5c Merged-In: Ib31cabff5714500471bd397c743e127c85751a5c
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions