diff options
| author | Hridya Valsaraju <hridya@google.com> | 2021-04-02 12:36:20 -0700 |
|---|---|---|
| committer | Hridya Valsaraju <hridya@google.com> | 2021-04-02 17:00:50 -0700 |
| commit | 6b91467aee42150efe7eb53db8d89bafecd3f6c4 (patch) | |
| tree | e3f6d6b9c95519e7bf7cf07c502d541fc90fe1e8 /libutils/Unicode.cpp | |
| parent | 3b30a4fdb6d1474802fc5d8573cc6896817376f5 (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 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
