Add rule to access vendor radio properties

This change is to add get_prop rule to access
vendor radio properties in system space.

Change-Id: Ie10458ab6b83b36f8e464fcaf55c52f44ade170b
CRs-Fixed: 2254471
This commit is contained in:
Garik Badalyan
2018-06-22 17:48:56 -07:00
committed by Gerrit - the friendly Code Review server
parent db6981b944
commit 2dac2c6ee0
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
#allow embms app to access vendor radio property
get_prop(radio, vendor_radio_prop)

View File

@@ -44,6 +44,8 @@ ctl.vendor.hbtp u:object_r:ctl_vendor_hbtp_prop:s0
persist.vendor.radio u:object_r:vendor_radio_prop:s0
vendor.radio u:object_r:vendor_radio_prop:s0
ro.vendor.ril. u:object_r:vendor_radio_prop:s0
ro.vendor.radio u:object_r:vendor_radio_prop:s0
persist.vendor.sys. u:object_r:vendor_system_prop:s0
#ss-restart

View File

@@ -14,3 +14,5 @@ userdebug_or_eng(`
allowxperm system_app self:socket ioctl msm_sock_ipc_ioctls;
allow system_app self:socket create_socket_perms;
')
get_prop(system_app, vendor_radio_prop)