summaryrefslogtreecommitdiffstats
path: root/sepolicy/recovery.te
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-26 02:19:44 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-26 02:19:44 -0800
commitaeec0ac261c6460965f4ddcd11b309fed0335e1d (patch)
treef018ea4f52d87fd2da4d2432c08a0920ba5a611b /sepolicy/recovery.te
parent48149d05a10efed4941f80cfa77703b88967df4f (diff)
downloadvendor_replicant-aeec0ac261c6460965f4ddcd11b309fed0335e1d.zip
vendor_replicant-aeec0ac261c6460965f4ddcd11b309fed0335e1d.tar.gz
vendor_replicant-aeec0ac261c6460965f4ddcd11b309fed0335e1d.tar.bz2
sepolicy: Allow recovery to create links in the rootfs
* Needed to support vold and other new code. Change-Id: I25a0b1cc6461eced7112dd4b3974a71423f7957b
Diffstat (limited to 'sepolicy/recovery.te')
-rw-r--r--sepolicy/recovery.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/recovery.te b/sepolicy/recovery.te
index 870c5f8..e2efee4 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