diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-03-24 01:01:40 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-03-24 01:01:40 +0000 |
commit | d5456157d68aa55fad58474c41fb74ed6b20a708 (patch) | |
tree | a1400c123af88c8244d198754f0fa5b51a7821b9 | |
parent | e5f2e0878a4b082ef70be5b4b6884fdd2cddea16 (diff) | |
parent | 1f2cbb5589730bb4ad176df7ef30d043b4d517e4 (diff) | |
download | crosshatch-sepolicy-d5456157d68aa55fad58474c41fb74ed6b20a708.tar.gz |
Snap for 7230642 from 1f2cbb5589730bb4ad176df7ef30d043b4d517e4 to sc-v2-release
Change-Id: If3fd0b9a273b1e8973b06609e2088d2cd48c5bd5
-rw-r--r-- | vendor/google/grilservice_app.te | 1 | ||||
-rw-r--r-- | vendor/google/hwservice.te | 1 | ||||
-rw-r--r-- | vendor/google/hwservice_contexts | 3 | ||||
-rw-r--r-- | vendor/google/pixelstats_vendor.te | 3 | ||||
-rw-r--r-- | vendor/qcom/common/file_contexts | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/vendor/google/grilservice_app.te b/vendor/google/grilservice_app.te index 68667c4..c757bc7 100644 --- a/vendor/google/grilservice_app.te +++ b/vendor/google/grilservice_app.te @@ -5,6 +5,7 @@ app_domain(grilservice_app) allow grilservice_app hal_radioext_hwservice:hwservice_manager find; allow grilservice_app hal_wifi_ext_hwservice:hwservice_manager find; allow grilservice_app app_api_service:service_manager find; +allow grilservice_app hal_bluetooth_sar_hwservice:hwservice_manager find; binder_call(grilservice_app, hal_radioext_default) binder_call(grilservice_app, hal_wifi_ext) diff --git a/vendor/google/hwservice.te b/vendor/google/hwservice.te index 1b3f60c..100e93a 100644 --- a/vendor/google/hwservice.te +++ b/vendor/google/hwservice.te @@ -1 +1,2 @@ type hal_wifi_ext_hwservice, hwservice_manager_type, vendor_hwservice_type; +type hal_bluetooth_sar_hwservice, hwservice_manager_type, vendor_hwservice_type; diff --git a/vendor/google/hwservice_contexts b/vendor/google/hwservice_contexts index cbdab7e..d937e30 100644 --- a/vendor/google/hwservice_contexts +++ b/vendor/google/hwservice_contexts @@ -1 +1,4 @@ vendor.google.wifi_ext::IWifiExt u:object_r:hal_wifi_ext_hwservice:s0 + +# BT HAL HWSERVICE +hardware.google.bluetooth.sar::IBluetoothSar u:object_r:hal_bluetooth_sar_hwservice:s0 diff --git a/vendor/google/pixelstats_vendor.te b/vendor/google/pixelstats_vendor.te index c232ec4..4135269 100644 --- a/vendor/google/pixelstats_vendor.te +++ b/vendor/google/pixelstats_vendor.te @@ -18,11 +18,8 @@ allow pixelstats_vendor fwk_stats_service:service_manager find; unix_socket_connect(pixelstats_vendor, chre, chre) allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms; -allow pixelstats_vendor sysfs_batteryinfo:dir search; -allow pixelstats_vendor sysfs_batteryinfo:file r_file_perms; allow pixelstats_vendor sysfs_pixelstats:dir search; allow pixelstats_vendor sysfs_pixelstats:file rw_file_perms; -allow pixelstats_vendor self:netlink_kobject_uevent_socket { create getopt setopt bind read }; # wlc allow pixelstats_vendor sysfs_wlc:dir search; diff --git a/vendor/qcom/common/file_contexts b/vendor/qcom/common/file_contexts index 46a6f83..b2e5e22 100644 --- a/vendor/qcom/common/file_contexts +++ b/vendor/qcom/common/file_contexts @@ -141,7 +141,7 @@ /vendor/bin/hw/android\.hardware\.health@2\.0-service\.crosshatch u:object_r:hal_health_default_exec:s0 /vendor/bin/hw/vendor\.qti\.media\.c2@1\.0-service u:object_r:mediacodec_exec:s0 /vendor/bin/hw/vendor\.qti\.hardware\.display\.allocator@1\.0-service u:object_r:hal_graphics_allocator_default_exec:s0 -/vendor/bin/hw/vendor\.google\.wireless_charger@1\.2-service-vendor u:object_r:hal_wlc_exec:s0 +/vendor/bin/hw/vendor\.google\.wireless_charger@1\.3-service-vendor u:object_r:hal_wlc_exec:s0 /vendor/bin/hw/hardware\.google\.light@1\.0-service u:object_r:hal_light_default_exec:s0 ############################################### |