From aeec0ac261c6460965f4ddcd11b309fed0335e1d Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Thu, 26 Nov 2015 02:19:44 -0800 Subject: [PATCH] sepolicy: Allow recovery to create links in the rootfs * Needed to support vold and other new code. Change-Id: I25a0b1cc6461eced7112dd4b3974a71423f7957b --- sepolicy/recovery.te | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/recovery.te b/sepolicy/recovery.te index 870c5f84..e2efee45 100644 --- a/sepolicy/recovery.te +++ b/sepolicy/recovery.te @@ -15,6 +15,7 @@ allow recovery system_data_file:file r_file_perms; # Manage fstab and /adb_keys allow recovery rootfs:file create_file_perms; +allow recovery rootfs:file link; allow recovery rootfs:dir { write create rmdir add_name remove_name }; # Read storage files and directories