summaryrefslogtreecommitdiff
path: root/tests/DexLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2019-02-08 13:05:25 -0800
committerPhilip P. Moltmann <moltmann@google.com>2019-02-16 12:08:25 -0800
commit0d05e48371c67ce0e95faf0915e96b97361770f5 (patch)
tree18f7d894d74a8c7072c3c0a186345ff53819f0b8 /tests/DexLoggerIntegrationTests/src/cpp/test_executable.cpp
parent3661808cb75bfa1c6cb429994fbe91755f191e6f (diff)
Check same uid for permission and app-op
In permission checker we used to check the permission for the passed in uid but the opp-op for the Binder.getCallingUid. In the case the calling identity was cleared, PermissionChecker ended up checking the app-op of the current process (often the system server). Now we check the uid for both the permission and the app-op. Test: Called PermissionChecker.checkPermission with the calling indentity cleared. Fixes: 124116218 Change-Id: Ic0b766f6c75bba1b9dae3e91c6adce85a76ae68f
Diffstat (limited to 'tests/DexLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions