summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2021-04-02 12:36:20 -0700
committerDaniel Norman <danielnorman@google.com>2021-04-19 15:44:44 -0700
commitd933bde21eb6d54a8f980d9c3c2bfcd7f79acf59 (patch)
treef8c87ebcf41fe997ed3659d24ce65f313d189255 /trusty/coverage/coverage.cpp
parentf608a9509f5344ddc1448f79842eeeee22e10f4c (diff)
Use property ro.product.enforce_debugfs_restrictions to enable debugfs
restrictions Use the property ro.product.enforce_debugfs_restrictions to enable debugfs restrictions instead of checking the launch API level. Vendors can enable build-time as well as run-time debugfs restrictions by setting the build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS true which in turn sets ro.product.enforce_debugfs_restrictions true as well enables sepolicy neverallow restrictions that prevent debugfs access. The intention of the build flag is to prevent debugfs dependencies from creeping in during development on userdebug/eng builds. Test: build and boot Bug: 184381659 Change-Id: If555037f973e6e4f35eb7312637f58e8360c3013
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions