summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2019-03-04 17:53:34 +0800
committerBowgo Tsai <bowgotsai@google.com>2019-03-15 06:12:00 +0800
commit1dacd42ae189c685ac9e5bea1c25a845580f67d5 (patch)
tree83c3f5610f543abeed1547b2d69a079c1bc2e1ec /trusty/coverage/coverage.cpp
parent9b30c0a7e6e72c9a66a7d18ef2f1d41fd00a875b (diff)
Allow overriding ro.debuggable to 1 on USER builds
When init found "/force_debuggable" in the first-stage ramdisk, it will do the following if the device is unlocked: 1. load /system/etc/adb_debug.prop (with ro.debuggable=1) 2 .load userdebug_plat_sepolicy.cil instead of original plat_sepolicy.cil from /system/etc/selinux/. This make it possible to run VTS on a USER build GSI, by using a special ramdisk containing "/force_debuggable". Bug: 126493225 Test: unlock a USER build device, check 'adb root' can work Change-Id: I9b4317bac1ce92f2c0baa67c83d4b12deba62c92
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions