grant installd rx perms on toybox
Installd uses cp when relocating apps to sdcard.
avc: denied { execute } for name="toybox" dev="mmcblk0p10" ino=315 scontext=u:r:installd:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file
Bug: 24617685
Change-Id: Id1a3039bbfc187c074aa50d426278964c40e4bde
diff --git a/installd.te b/installd.te
index 54f276a..7f4074f 100644
--- a/installd.te
+++ b/installd.te
@@ -95,3 +95,6 @@
# Create and use pty created by android_fork_execvp().
allow installd devpts:chr_file rw_file_perms;
+
+# execute toybox for app relocation
+allow installd toolbox_exec:file rx_file_perms;