diff options
author | 2021-04-20 07:29:53 +0000 | |
---|---|---|
committer | 2021-04-20 07:29:53 +0000 | |
commit | 88a3e5aea93009d1130adeb80f6e66c950fe17a2 (patch) | |
tree | 4715a5e55bfcb4acb7b3a3fef2f5a6b42f2a48df /cmds/dumpstate/dumpstate.cpp | |
parent | 7d54b9ca2da6b284c53df8f08a22bd1dc1af37d8 (diff) | |
parent | 1897820c7914407eef770a7938d4b63171a4d2a4 (diff) |
Merge "Rename ro.product.enforce_debugfs_restrictions" am: 5d7cca20ed am: 58d6f5fffc am: 1897820c79
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1677194
Change-Id: I8b0134f854f104caf426bb592d1c5406cb9aa46e
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 753ce2e943..336c5a2b3d 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -2178,13 +2178,13 @@ void Dumpstate::DumpstateBoard(int out_fd) { } /* - * mount debugfs for non-user builds with ro.product.enforce_debugfs_restrictions + * mount debugfs for non-user builds with ro.product.debugfs_restrictions.enabled * set to true and unmount it after invoking dumpstateBoard_* methods. * This is to enable debug builds to not have debugfs mounted during runtime. * It will also ensure that debugfs is only accessed by the dumpstate HAL. */ auto mount_debugfs = - android::base::GetBoolProperty("ro.product.enforce_debugfs_restrictions", false); + android::base::GetBoolProperty("ro.product.debugfs_restrictions.enabled", false); if (mount_debugfs) { RunCommand("mount debugfs", {"mount", "-t", "debugfs", "debugfs", "/sys/kernel/debug"}, AS_ROOT_20); |