summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/hvdcp.te
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/qcom/common/hvdcp.te')
-rw-r--r--vendor/qcom/common/hvdcp.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/qcom/common/hvdcp.te b/vendor/qcom/common/hvdcp.te
index ad3f645..88e3bb1 100644
--- a/vendor/qcom/common/hvdcp.te
+++ b/vendor/qcom/common/hvdcp.te
@@ -1,3 +1,14 @@
type hvdcp, domain;
type hvdcp_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hvdcp)
+
+allow hvdcp sysfs_batteryinfo:file rw_file_perms;
+allow hvdcp sysfs_batteryinfo:dir r_dir_perms;
+allow hvdcp qg_device:chr_file rw_file_perms;
+allow hvdcp self:capability2 wake_alarm;
+allow hvdcp self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
+allow hvdcp kmsg_device:chr_file r_file_perms;
+allow hvdcp mnt_vendor_file:dir r_dir_perms;
+
+set_prop(hvdcp, vendor_hvdcp_opti_prop)
+wakelock_use(hvdcp)