aboutsummaryrefslogtreecommitdiffstats
path: root/adbd.te
diff options
context:
space:
mode:
Diffstat (limited to 'adbd.te')
-rw-r--r--adbd.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/adbd.te b/adbd.te
index 8f2ac30..4f332b3 100644
--- a/adbd.te
+++ b/adbd.te
@@ -6,3 +6,11 @@ unconfined_domain(adbd)
domain_auto_trans(adbd, shell_exec, shell)
# this is an entrypoint
allow adbd rootfs:file entrypoint;
+
+# Read /data/misc/adb/adb_keys.
+allow adbd adb_keys_file:dir search;
+allow adbd adb_keys_file:file r_file_perms;
+
+# Allow access in case /data/misc/adb still has the old type.
+allow adbd system_data_file:dir search;
+allow adbd system_data_file:file r_file_perms;