allow access fastrpc total_dma_kb sysfs
This helps understand fastrpc dma buffer size
Bug: 168084904
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Merged-In: I7be717268a54486a199782ea438b8e6dda5a97c2
Change-Id: I7be717268a54486a199782ea438b8e6dda5a97c2
diff --git a/vendor/google/hal_dumpstate_impl.te b/vendor/google/hal_dumpstate_impl.te
index a3cdab7..6455e36 100644
--- a/vendor/google/hal_dumpstate_impl.te
+++ b/vendor/google/hal_dumpstate_impl.te
@@ -65,6 +65,9 @@
allow hal_dumpstate_impl debugfs_ipa:file r_file_perms;
')
+#Dumpstats fastrpc buffer
+allow hal_dumpstate_impl sysfs_fastrpc:file r_file_perms;
+
# dump Battery/Charger/Guage
allow hal_dumpstate_impl debugfs_batteryinfo:dir r_dir_perms;
allow hal_dumpstate_impl debugfs_batteryinfo:file r_file_perms;