ANDROID: interconnect: Enable debugfs client
The interconnect debugfs client supports voting for any path registered
with the framework from shell, which is important for debugging and
testing.
This is normally disabled by default since directly touching bus HW from
user space can introduce security issues. However, Android already
considers debugfs itself unsafe and doesn't allow mounting it on user
devices anyway.
A similar approach was taken to enable writable debugfs files for the
clock framework in commit 861a024589 ("ANDROID: clk: Enable writable
debugfs files").
Bug: 304307718
Change-Id: I800692b5151e6f0277f6a6db1ffdb4d4696f8350
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
This commit is contained in:
committed by
Treehugger Robot
parent
d0d077eb4d
commit
4439db7b8f
@@ -13,7 +13,7 @@
|
||||
* configuration option for this feature.
|
||||
* People who want to use this will need to modify the source code directly.
|
||||
*/
|
||||
#undef INTERCONNECT_ALLOW_WRITE_DEBUGFS
|
||||
#define INTERCONNECT_ALLOW_WRITE_DEBUGFS
|
||||
|
||||
#if defined(INTERCONNECT_ALLOW_WRITE_DEBUGFS) && defined(CONFIG_DEBUG_FS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user