[go: nahoru, domu]

Add sepolicy read permissions to hal_dumpstate_impl for bd_* am: fcb1fa38c0

Original change: https://android-review.googlesource.com/c/device/google/bonito-sepolicy/+/1515726

Change-Id: I4f22173161e3c349134fcb320c79cc5ebcb4fbb9
diff --git a/vendor/google/fastbootd.te b/vendor/google/fastbootd.te
index 8384298..eb14c8f 100644
--- a/vendor/google/fastbootd.te
+++ b/vendor/google/fastbootd.te
@@ -5,5 +5,6 @@
 
   allow fastbootd devinfo_block_device:blk_file r_file_perms;
   allow fastbootd sysfs_leds:file w_file_perms;
+  allow fastbootd citadel_device:chr_file rw_file_perms;
 ')
 
diff --git a/vendor/qcom/common/hal_wifi_ext.te b/vendor/qcom/common/hal_wifi_ext.te
index 6f30755..dda0b6d 100644
--- a/vendor/qcom/common/hal_wifi_ext.te
+++ b/vendor/qcom/common/hal_wifi_ext.te
@@ -6,7 +6,7 @@
 allow hal_wifi_ext location_socket:sock_file write;
 allow hal_wifi_ext location_data_file:{ file fifo_file } create_file_perms;
 
-allow hal_wifi_ext wlan_device:chr_file w_file_perms;
+allow hal_wifi_ext wlan_device:chr_file rw_file_perms;
 
 # Allow wifi hal to read debug info from the driver.
 r_dir_file(hal_wifi_ext, proc_wifi_dbg)
diff --git a/vendor/qcom/common/property_contexts b/vendor/qcom/common/property_contexts
index 4683587..30de9af 100644
--- a/vendor/qcom/common/property_contexts
+++ b/vendor/qcom/common/property_contexts
@@ -156,6 +156,7 @@
 persist.vendor.radio.data_con_rprt  u:object_r:vendor_radio_prop:s0
 persist.vendor.radio.data_ltd_sys_ind  u:object_r:vendor_radio_prop:s0
 persist.vendor.radio.is_wps_enabled  u:object_r:vendor_radio_prop:s0
+persist.vendor.radio.mt_sms_ack  u:object_r:vendor_radio_prop:s0
 persist.vendor.radio.multisim_switch_support  u:object_r:vendor_radio_prop:s0
 persist.vendor.radio.sib16_support  u:object_r:vendor_radio_prop:s0
 persist.vendor.radio.snapshot_enabled  u:object_r:vendor_radio_prop:s0