summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2025-01-09 10:09:56 -0800
committer Nate Myren <ntmyren@google.com> 2025-01-24 13:52:55 -0800
commitec8a2057c7aab9bf61acd24f9b02ee7afb699043 (patch)
treef389f52c50cdd73488ff06794633b99239e72bb6 /libs/androidfw/StringPool.cpp
parent4e372612f85e70d0092c346f0e921682c5906dc8 (diff)
Do not allow non-system apps to provide unverified attributions
Some apps (the shell, system server, etc) are exempt from the requirement that attribution tags be registered. However, in the proxy case, the tag provied by the proxy app is trusted if the proxied app is one of these exemptions. We should only trust these tags if the proxy app is a system app. This CL also adds a second restriction check when a restriction is removed, to verify that an op is free of all restrictions, before resuming a started op Bug: 375623125 Test: upcoming Flag: EXEMPT: See bug Merged-In: I6a7b0a24359097c0ea2f52cc69637d929a931b4f Change-Id: I6a7b0a24359097c0ea2f52cc69637d929a931b4f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions