summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/idd.te2
-rw-r--r--sepolicy/workarounds.te3
2 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/idd.te b/sepolicy/idd.te
index bb3ef03..5d7a3f7 100644
--- a/sepolicy/idd.te
+++ b/sepolicy/idd.te
@@ -40,4 +40,6 @@ allow system_server iddd_exec:file { getattr open read };
allow iddd tmpfs:lnk_file read;
#============= iddd ==============
allow iddd iddd_exec:file execute_no_trans;
+allow iddd iddd_file:dir create;
+allow iddd proc:file { getattr open read };
diff --git a/sepolicy/workarounds.te b/sepolicy/workarounds.te
index ed9aaf6..b026b37 100644
--- a/sepolicy/workarounds.te
+++ b/sepolicy/workarounds.te
@@ -14,6 +14,8 @@ allow qti_init_shell toolbox_exec:file entrypoint;
#============= mm-qcamerad ==============
allow mm-qcamerad camera_device:chr_file { ioctl open read write };
+allow mm-qcamerad ta_data_file:dir { getattr open read };
+
#============= thermanager ==============
allow thermanager sysfs:file { open read };
@@ -37,6 +39,7 @@ allow wv tee_device:chr_file { ioctl open read write };
#============= mediaserver ==============
allow mediaserver sensorservice_service:service_manager find;
+allow mediaserver ta_data_file:dir { getattr open read };
#============= rmt_storage ==============
allow rmt_storage self:capability dac_override;