sepolicy: Fix anykernel flashing on recovery
Change-Id: I45682d546b5ff8d9f7cc2cd0c9339262901e2ca6
diff --git a/common/private/recovery.te b/common/private/recovery.te
index 851820e..17c2793 100644
--- a/common/private/recovery.te
+++ b/common/private/recovery.te
@@ -14,6 +14,9 @@
allow recovery loop_device:blk_file ioctl;
allowxperm recovery loop_device:blk_file ioctl LOOP_CLR_FD;
+# AnyKernel
+allow recovery tmpfs:lnk_file create_file_perms;
+
# Volume manager
allow recovery sysfs_perdev_minors:file r_file_perms;
allowxperm recovery block_device:blk_file ioctl { HDIO_GETGEO BLKGETSIZE };