allow qemu_props to set opengles.version

Addresses the following denial:

  init: avc:  denied  { set } for property=opengles.version scontext=u:r:qemu_props:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service

Bug: 25148690
Change-Id: I4b197eeabfe37e794104e4e686e9e388b5bc3e0c
This commit is contained in:
Nick Kralevich 2015-10-21 10:55:21 -07:00
parent a7918b4948
commit ce1062629f
3 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,3 @@
type qemu_prop, property_type;
type radio_noril_prop, property_type;
type opengles_prop, property_type;

View File

@ -1,2 +1,3 @@
qemu. u:object_r:qemu_prop:s0
radio.noril u:object_r:radio_noril_prop:s0
opengles. u:object_r:opengles_prop:s0

View File

@ -8,3 +8,4 @@ init_daemon_domain(qemu_props)
set_prop(qemu_props, qemu_prop)
set_prop(qemu_props, dalvik_prop)
set_prop(qemu_props, config_prop)
set_prop(qemu_props, opengles_prop)