aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/rmt_storage.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/rmt_storage.te')
-rw-r--r--sepolicy/rmt_storage.te6
1 files changed, 5 insertions, 1 deletions
diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te
index 5e6c045..3f531cb 100644
--- a/sepolicy/rmt_storage.te
+++ b/sepolicy/rmt_storage.te
@@ -1 +1,5 @@
-allow rmt_storage rmt_storage:capability sys_admin;
+# debugfs access
+userdebug_or_eng(`
+ allow rmt_storage debugfs_rmt:dir search;
+ allow rmt_storage debugfs_rmt:file rw_file_perms;
+')