From 127987d3e03e7c5d58795bfb0f1b5a9656364c18 Mon Sep 17 00:00:00 2001 From: Arvind Kumar Date: Thu, 3 Nov 2022 11:41:11 +0530 Subject: [PATCH 1/2] Permission to access binderfs for binder info Change-Id: If386da636f084c2c67ee6323300aae0c2ac75bc5 --- legacy/vendor/sdm660/system_server.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legacy/vendor/sdm660/system_server.te b/legacy/vendor/sdm660/system_server.te index d2cb28e2..e30a40e0 100755 --- a/legacy/vendor/sdm660/system_server.te +++ b/legacy/vendor/sdm660/system_server.te @@ -27,3 +27,8 @@ allow system_server resourcecache_data_file:dir create_dir_perms; allow system_server resourcecache_data_file:file create_file_perms; +#Allow system server to access /dev/binderfs/binder_logs for binder info +userdebug_or_eng(` +allow system_server binderfs_logs:dir r_dir_perms; +allow system_server binderfs_logs:file r_file_perms; +') From f9714cd55d54e4e8953d01960679d4d6f6fae173 Mon Sep 17 00:00:00 2001 From: Jiani Liu Date: Tue, 7 Mar 2023 14:49:03 +0800 Subject: [PATCH 2/2] Add sepolicy for ISupplicantVendor aidl This commit adds required sepolicy changes to avoid avc denial for new vendor.qti.hardware.wifi.supplicant.ISupplicantVendor/default. Change-Id: Ie272772338299eb2c684b1c3683e062b12ca486b --- legacy/vendor/common/service_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/vendor/common/service_contexts b/legacy/vendor/common/service_contexts index 0ad1bc8f..f3dc5ffc 100644 --- a/legacy/vendor/common/service_contexts +++ b/legacy/vendor/common/service_contexts @@ -42,3 +42,4 @@ dts_eagle_service u:object_r:dtseagleservice_servic com.qualcomm.qti.secota.service.SecotaNService u:object_r:secotad_service:s0 com.qualcomm.qti.seemp.health u:object_r:seemp_health_daemon_service:s0 com.qualcomm.qti.uceservice u:object_r:imsrcs_service:s0 +vendor.qti.hardware.wifi.supplicant.ISupplicantVendor/default u:object_r:hal_wifi_supplicant_service:s0