summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAlessandro Astone <ales.astone@gmail.com>2020-03-20 19:45:31 +0100
committerBruno Martins <bgcngm@gmail.com>2020-04-19 17:50:19 +0200
commit48c5faea378921da567a4e90530e3e02286cb10c (patch)
treed26783239edcd380731713889720bb1b1f9d75da /common
parent3abf91f436584e8279b2c3a1d97f6325b587f3f3 (diff)
downloadandroid_device_lineage_sepolicy-48c5faea378921da567a4e90530e3e02286cb10c.tar.gz
android_device_lineage_sepolicy-48c5faea378921da567a4e90530e3e02286cb10c.tar.bz2
android_device_lineage_sepolicy-48c5faea378921da567a4e90530e3e02286cb10c.zip
sepolicy: allow adbroot service to change adb root status
Change-Id: Ica070f35ef0e741e37a5f5425ff759eda5401055
Diffstat (limited to 'common')
-rw-r--r--common/private/adbroot.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/private/adbroot.te b/common/private/adbroot.te
index eeaa21b..de201a6 100644
--- a/common/private/adbroot.te
+++ b/common/private/adbroot.te
@@ -9,3 +9,6 @@ add_service(adbroot, adbroot_service)
allow adbroot adbroot_data_file:dir rw_dir_perms;
allow adbroot adbroot_data_file:file create_file_perms;
+
+set_prop(adbroot, shell_prop)
+set_prop(adbroot, ctl_adbd_prop)