sdm710-common: Address avc denials while vendor_init access vendor_bluetooth_prop

* avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service
* avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service

Bug: 131149718
Test: Boot up and Turn On/Off Bluetooth
Change-Id: Ifd6bf0a35eafc2513901783b35deed45eed9dac6
This commit is contained in:
jonerlin 2019-04-24 22:24:06 +08:00 committed by CakesTwix
parent c7fb8c20d2
commit 81e3fa278b
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825

View file

@ -2,6 +2,7 @@ set_prop(vendor_init, vendor_power_prop)
set_prop(vendor_init, freq_prop)
get_prop(vendor_init, persist_debug_prop)
set_prop(vendor_init, vendor_bluetooth_prop)
# Allow vendor_init to write to sysfs_ssr_toggl
allow vendor_init sysfs_ssr_toggle:file w_file_perms;