summaryrefslogtreecommitdiffstats
path: root/sepolicy/qcom/adbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/qcom/adbd.c')
-rw-r--r--sepolicy/qcom/adbd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sepolicy/qcom/adbd.c b/sepolicy/qcom/adbd.c
new file mode 100644
index 0000000..d610917
--- /dev/null
+++ b/sepolicy/qcom/adbd.c
@@ -0,0 +1,14 @@
+# Allow pulling various binaries without root
+# (cause we're awesome like that)
+
+allow adbd adsprpcd_exec:file r_file_perms;
+allow adbd location_exec:file r_file_perms;
+allow adbd mm-qcamerad_exec:file r_file_perms;
+allow adbd mpdecision_exec:file r_file_perms;
+allow adbd perfd_exec:file r_file_perms;
+allow adbd rfs_access_exec:file r_file_perms;
+allow adbd rmt_storage_exec:file r_file_perms;
+allow adbd sensors_exec:file r_file_perms;
+allow adbd tee_exec:file r_file_perms;
+allow adbd thermal-engine_exec:file r_file_perms;
+allow adbd time_daemon_exec:file r_file_perms;