summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/qcom/system_server.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/qcom/system_server.te b/sepolicy/qcom/system_server.te
index 362bd4f..3239c2d 100644
--- a/sepolicy/qcom/system_server.te
+++ b/sepolicy/qcom/system_server.te
@@ -4,3 +4,7 @@ allow system_server mm-pp-daemon:unix_stream_socket connectto;
# Time services
allow system_server time_daemon:unix_stream_socket connectto;
+
+#allow reading of usb sysfs to query hvdcp state
+allow system_server sysfs_usb_supply:dir { search };
+allow system_server sysfs_usb_supply:file r_file_perms;