cm: sepolicy: Fix the vold blkid.tab denial from recovery

* denied  { link } for  pid=190 comm="minivold"
    name="vold_blkid.tab" dev="tmpfs" scontext=u:r:vold:s0
    tcontext=u:object_r:vold_tmpfs:s0 tclass=file

Change-Id: I0b3e47dd00c5a32261691f51838a8d9af9778faa
This commit is contained in:
Adrian DC 2016-08-02 23:21:35 +02:00 committed by Gerrit Code Review
parent ce489f178c
commit 463feb6005

View File

@ -14,6 +14,7 @@ allow vold self:capability { setgid setuid };
recovery_only(` recovery_only(`
allow vold rootfs:dir { add_name write }; allow vold rootfs:dir { add_name write };
allow vold rootfs:file execute_no_trans; allow vold rootfs:file execute_no_trans;
allow vold vold_tmpfs:file link;
') ')
# External storage # External storage