wahoo: sepolicy: Add missing vendor_radio_prop

Add missing vendor_radio_prop:
vendor.radio.pwr.curb_backoff

radio_prop is neverallow since android P.
Move this prop to vendor_radio_prop

Bug: 115943152
Test: Camera function work.
Change-Id: Ia6e9bc68e3e71e14a00bf10718c656eb64b5ea13
This commit is contained in:
samchchang
2018-08-22 15:40:23 +08:00
committed by Sam Chang
parent 03e0999ed7
commit be739c6382
3 changed files with 4 additions and 1 deletions

View File

@@ -21,3 +21,5 @@ userdebug_or_eng(`
allow hal_camera_default camera_vendor_data_file:dir create_dir_perms;
allow hal_camera_default camera_vendor_data_file:file create_file_perms;
')
get_prop(hal_camera_default, vendor_radio_prop);

View File

@@ -194,6 +194,7 @@ persist.radio.snapshot_timer u:object_r:vendor_radio_prop:s0
persist.radio.videopause.mode u:object_r:vendor_radio_prop:s0
persist.radio.VT_ENABLE u:object_r:vendor_radio_prop:s0
persist.radio.VT_HYBRID_ENABLE u:object_r:vendor_radio_prop:s0
vendor.radio.pwr.curb_backoff u:object_r:vendor_radio_prop:s0
# vendor_bluetooth_prop
persist.vendor.bluetooth.a4wp u:object_r:vendor_bluetooth_prop:s0

View File

@@ -28,7 +28,7 @@ dontaudit rild diag_device:chr_file rw_file_perms;
allow rild radio_vendor_data_file:dir rw_dir_perms;
allow rild radio_vendor_data_file:file create_file_perms;
get_prop(rild, vendor_radio_prop)
set_prop(rild, vendor_radio_prop)
# Allow vendor native process to read the proc file of xt_qtaguid
allow rild proc_qtaguid_stat:file r_file_perms;