Fix emulator specific SELinux denials related to qemu.gles

init: avc:  denied  { set } for property=qemu.gles pid=108 uid=1003 gid=1003 scontext=u:r:bootanim:s0 tcontext=u:object_r:qemu_prop:s0 tclass=property_service permissive=1
init: avc:  denied  { set } for property=qemu.gles pid=75 uid=0 gid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:qemu_prop:s0 tclass=property_service permissive=1

bug: 28221393
Change-Id: Icb0ee7fbf9a7b985f66fac087a48d9b5789e2b67
This commit is contained in:
bohu 2016-04-19 15:04:58 -07:00
parent 05ce0a94a5
commit bf863dbffc
2 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,4 @@
allow bootanim self:process execmem;
allow bootanim ashmem_device:chr_file execute;
set_prop(bootanim, qemu_prop)

View File

@ -0,0 +1 @@
set_prop(zygote, qemu_prop)