summaryrefslogtreecommitdiffstats
path: root/common/recovery.te
diff options
context:
space:
mode:
Diffstat (limited to 'common/recovery.te')
-rw-r--r--common/recovery.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/recovery.te b/common/recovery.te
index 210c4050..c5b2c0ec 100644
--- a/common/recovery.te
+++ b/common/recovery.te
@@ -17,4 +17,10 @@ recovery_only(`
allow recovery sg_device:chr_file rw_file_perms;
allow recovery self:capability sys_rawio;
allow recovery sg_device:chr_file ioctl;
+ # Enable adb on configfs devices
+ allow recovery configfs:file rw_file_perms;
+ allow recovery configfs:dir rw_dir_perms;
+ set_prop(recovery, ffs_prop);
+ get_prop(recovery, sys_usb_controller_prop);
+ get_prop(recovery, boot_mode_prop);
')