[go: nahoru, domu]

Add vendor_hwservice_type attribute to all hwservice am: d52fd1a12d am: 7af0a174bd am: 2c2ce6cc75 am: 8efaa95d74

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

Change-Id: Ic85220ddbbdae19ac4eed35fa250147a38d14aeb
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)