summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-06-04 17:58:48 -0700
committerJosh Gao <jmgao@google.com>2020-06-09 13:05:47 -0700
commitb6b70c23c963831a202ac45b8ea9727293bbd8f3 (patch)
tree201a49f974a4638b2f5d201c764ca1ae41deae80 /libutils/Unicode.cpp
parent39bdf397fa48f62b18f39ff984a2cfa0a4524495 (diff)
adbd: remove ifdefs guarding root/secure.
The same adbd module prebuilt will get used for both user and userdebug builds in the post-APEX world, so we can't guard functionality with product variable ifdefs anymore. The code that was previously compiled out runs before we drop root, so the increased attack surface essentially consists of an attacker having control over system properties, and that likely implies that we're doomed already (either they have filesystem control, or they have code execution in init). Bug: http://b/158156979 Test: treehugger Change-Id: Ia70d3140189e5212beb813ff719355e30ca5fa04 (cherry picked from commit d076857c4f6c15a70f1186c4214592837f46c57d)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions