sepolicy: recovery: allow mounting of usb storage
Change-Id: Ide51c085b1e697044e1fbb00eab6fa7d78cb9ff0
diff --git a/common/private/recovery.te b/common/private/recovery.te
index d24d63a..7a5c16c 100644
--- a/common/private/recovery.te
+++ b/common/private/recovery.te
@@ -35,6 +35,8 @@
# Volume manager
allow recovery block_device:dir create_dir_perms;
+allow recovery block_device:blk_file { create rw_file_perms };
+allow recovery self:capability mknod;
allow recovery proc_filesystems:file r_file_perms;
allow recovery self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow recovery sysfs:file w_file_perms; # writing to /sys/*/uevent during coldboot.