From c92ecfbf1b747067e8ed7dc9c8781f05030bc19e Mon Sep 17 00:00:00 2001 From: leochuang Date: Tue, 21 Feb 2023 08:49:05 +0800 Subject: Update SELinux error Test: SELinuxUncheckedDenialBootTest Bug: 270080469 Change-Id: Iae618c0bda9e787db8db5f64cd2d2d5ffc86c0d8 --- tracking_denials/bug_map | 1 + 1 file changed, 1 insertion(+) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 402fc20..d2ece11 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,3 +1,4 @@ +cbd vendor_modem_prop property_service b/270080469 derive_sdk mediaprovider_app dir b/264600240 dump_pixel_metrics sysfs file b/268147280 dump_stm sysfs_spi dir b/268147400 -- cgit v1.2.3 From 4ca8f97dff02a7847ea004b167b42464bdd1a1a8 Mon Sep 17 00:00:00 2001 From: Woody Lin Date: Mon, 6 Feb 2023 08:54:22 +0000 Subject: Revert "Update SELinux error" This reverts commit db9dfd788598e4bc3b6c9f58973a348fbc2445d8. Reason for revert: fixed by aosp/2422419 Bug: 260366497 Bug: 264600011 Change-Id: I5454fb84cde8bb7b24971388e9a09e31100f7993 --- tracking_denials/bug_map | 1 - 1 file changed, 1 deletion(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index aa9095f..0067d86 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -7,7 +7,6 @@ dump_stm sysfs_spi dir b/268147400 dump_storage radio_vendor_data_file file b/269218359 dump_storage vendor_slog_file file b/269218359 dumpstate app_zygote process b/238263942 -dumpstate system_data_file dir b/261932945 hal_dumpstate_default dump_ramdump process b/270247072 hal_power_default hal_power_default capability b/240632681 hal_vibrator_default sysfs file b/264483668 -- cgit v1.2.3 From 5e42855d003a53a038e00eb0abf6d13f79960738 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Tue, 11 Apr 2023 03:43:17 +0000 Subject: Remove obsolete entries Bug: 270080469 Bug: 264600240 Bug: 268147280 Bug: 270247129 Bug: 270633115 Bug: 268147400 Bug: 269218359 Bug: 269218359 Bug: 277529247 Bug: 238263942 Bug: 270247072 Bug: 240632681 Bug: 264483668 Bug: 238263518 Bug: 265886512 Test: adb bugreport Change-Id: I66b3c16af0845513e907e92be8d7afe03d9e0d8f --- tracking_denials/bug_map | 9 --------- tracking_denials/dump_gsc.te | 3 --- 2 files changed, 12 deletions(-) delete mode 100644 tracking_denials/dump_gsc.te diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 00aec3b..f62d5cc 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,14 +1,5 @@ cbd vendor_modem_prop property_service b/270080469 derive_sdk mediaprovider_app dir b/264600240 -dump_pixel_metrics sysfs file b/268147280 -dump_ramdump radio_vendor_data_file file b/270247129 -dump_ramdump vendor_camera_data_file file b/270633115 -dump_stm sysfs_spi dir b/268147400 -dump_storage radio_vendor_data_file file b/269218359 -dump_storage vendor_slog_file file b/269218359 -dump_trusty modem_efs_file file b/277529247 -dumpstate app_zygote process b/238263942 -hal_dumpstate_default dump_ramdump process b/270247072 hal_power_default hal_power_default capability b/240632681 hal_vibrator_default sysfs file b/264483668 incidentd debugfs_wakeup_sources file b/238263518 diff --git a/tracking_denials/dump_gsc.te b/tracking_denials/dump_gsc.te deleted file mode 100644 index 1eb7ccf..0000000 --- a/tracking_denials/dump_gsc.te +++ /dev/null @@ -1,3 +0,0 @@ -# b/265886512 -dontaudit dump_gsc radio_vendor_data_file:file { read }; -dontaudit dump_gsc radio_vendor_data_file:file { write }; -- cgit v1.2.3 From 9525992cace9e42520c79cdbf5a1006bdec39b82 Mon Sep 17 00:00:00 2001 From: DesmondH Date: Wed, 31 May 2023 01:40:00 +0000 Subject: Remove obsolete entries Bug: 270080469 Bug: 264600240 Bug: 264483668 Change-Id: Iab8a37f169f3ff6e0d5be070567f6a455cd32c75 --- tracking_denials/bug_map | 3 --- 1 file changed, 3 deletions(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index f62d5cc..3ba34fa 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,7 +1,4 @@ -cbd vendor_modem_prop property_service b/270080469 -derive_sdk mediaprovider_app dir b/264600240 hal_power_default hal_power_default capability b/240632681 -hal_vibrator_default sysfs file b/264483668 incidentd debugfs_wakeup_sources file b/238263518 incidentd incidentd anon_inode b/268147248 webview_zygote logdr_socket sock_file b/264600023 -- cgit v1.2.3 From ad379fc0aef018a35dae8d6291b3ea8135a19edc Mon Sep 17 00:00:00 2001 From: DesmondH Date: Wed, 14 Jun 2023 16:51:41 +0000 Subject: Remove fixed or obsolete entries Bug: 240632681 Change-Id: I5176d220959aefd3e39acf34a3f80128b8348989 --- tracking_denials/bug_map | 1 - 1 file changed, 1 deletion(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 3ba34fa..e242e62 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,4 +1,3 @@ -hal_power_default hal_power_default capability b/240632681 incidentd debugfs_wakeup_sources file b/238263518 incidentd incidentd anon_inode b/268147248 webview_zygote logdr_socket sock_file b/264600023 -- cgit v1.2.3 From 5ba0e738aec731490df3254ee87d65d0474eee97 Mon Sep 17 00:00:00 2001 From: DesmondH Date: Wed, 28 Jun 2023 05:31:36 +0000 Subject: Remove obsolete entries Fix: 264600023 Fix: 275645961 Change-Id: If4ada1f505b9295f3415dea8cbd177694163a9a4 --- tracking_denials/bug_map | 4 ---- tracking_denials/hal_vibrator_default.te | 2 -- 2 files changed, 6 deletions(-) delete mode 100644 tracking_denials/hal_vibrator_default.te diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index e242e62..0a3984e 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,6 +1,2 @@ incidentd debugfs_wakeup_sources file b/238263518 incidentd incidentd anon_inode b/268147248 -webview_zygote logdr_socket sock_file b/264600023 -webview_zygote resourcecache_data_file dir b/264600023 -webview_zygote tombstoned_crash_socket sock_file b/264600023 -webview_zygote zygote_exec file b/264600023 diff --git a/tracking_denials/hal_vibrator_default.te b/tracking_denials/hal_vibrator_default.te deleted file mode 100644 index f634fe6..0000000 --- a/tracking_denials/hal_vibrator_default.te +++ /dev/null @@ -1,2 +0,0 @@ -# b/275645961 -dontaudit hal_vibrator_default service_manager_type:service_manager find; -- cgit v1.2.3 From 7595c2dae851525ec03fae35c5f2af45c78e8242 Mon Sep 17 00:00:00 2001 From: Desmond Huang Date: Wed, 13 Sep 2023 01:08:11 +0800 Subject: Relocate common tracking denial entries Bug: 299029620 Change-Id: I15c42b09239e2c59b1a8d505f03fba260257d475 --- tracking_denials/bug_map | 2 -- 1 file changed, 2 deletions(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 0a3984e..e69de29 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -1,2 +0,0 @@ -incidentd debugfs_wakeup_sources file b/238263518 -incidentd incidentd anon_inode b/268147248 -- cgit v1.2.3 From ccdd975a88d05de92a839697f3963baec914a62b Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Mon, 18 Sep 2023 15:29:57 -0700 Subject: Update the cs40l26a i2c device node sepolicy labeling This change needs to be merged with the corresponding kernel change that sets the i2c bus aliases correctly to match the existing v5.10 bus probe ordering. To verify the sepolicy labeling doesn't change, run the below commands and diff the stdout on builds with and without the changes. For extra credit, verify the nodes are labeled the same when upgrading the kernel to v6.1 (with the correct i2c aliases to match the existing policy): acpm_bus_array=("acpm_mfd_bus@17500000" "acpm_mfd_bus@17510000") for bus in ${acpm_bus_array[@]}; do adb shell ls -ZR /sys/devices/platform/${bus}/i2c-*; done bus_array=("10960000" "10970000" "10d50000" "10900000") for bus in ${bus_array[@]}; do adb shell ls -ZR /sys/devices/platform/${bus}.hsi2c/i2c-*; done Test: verify on b3 Bug: 291606723 Change-Id: I36e41d7e2379b731c2092a679dc4e4042e0d3651 --- bluejay/genfs_contexts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bluejay/genfs_contexts b/bluejay/genfs_contexts index b01c716..09f7b8a 100644 --- a/bluejay/genfs_contexts +++ b/bluejay/genfs_contexts @@ -1,13 +1,6 @@ # Haptics -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-0/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-1/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-2/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-3/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/7-0043 u:object_r:sysfs_vibrator:s0 # Storage genfscon sysfs /devices/platform/14700000.ufs/vendor u:object_r:sysfs_scsi_devices_0000:s0 -- cgit v1.2.3 From 5e130ea7c30b66fd85501103e3176a213235d87b Mon Sep 17 00:00:00 2001 From: Roy Luo Date: Thu, 28 Sep 2023 18:00:06 +0000 Subject: Revert "Update the cs40l26a i2c device node sepolicy labeling" Revert submission 24855741-gs101-i2c-bus-fixes Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/builds/quarterdeck?branch=git_main&target=bluejay-trunk_food-userdebug&lkgb=10876543&lkbb=10876988&fkbb=10876587, bug b/302549624. Reverted changes: /q/submissionid:24855741-gs101-i2c-bus-fixes Change-Id: I1450fd464d661edbb7b3dc45bccc46f1e4d3a4bc BUG: 302549624 --- bluejay/genfs_contexts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bluejay/genfs_contexts b/bluejay/genfs_contexts index 09f7b8a..b01c716 100644 --- a/bluejay/genfs_contexts +++ b/bluejay/genfs_contexts @@ -1,6 +1,13 @@ # Haptics +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-0/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-1/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-2/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-3/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/7-0043 u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 # Storage genfscon sysfs /devices/platform/14700000.ufs/vendor u:object_r:sysfs_scsi_devices_0000:s0 -- cgit v1.2.3 From 37bba82cfb84e89ac5cd5bdd08ca60d595793b6e Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Thu, 28 Sep 2023 10:33:27 -0700 Subject: Move haptics sepolicy to gs101-sepolicy The i2c-7/7-0043 label is shared with both i2c-7/i2c-cs40l25a and i2c-7/i2c-cs40l26a nodes. To make it clear that these all are related, let's move i2c-7/i2c-cs40l26a to gs101-sepolicy and have all the gs101 vibrator policy labels together. Test: build on b3 and verify i2c nodes on r4 Bug: 291606723 Change-Id: I58be5961120c0ec5597a947c5ab6caa52aeb7bce --- bluejay/genfs_contexts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bluejay/genfs_contexts b/bluejay/genfs_contexts index b01c716..829c58d 100644 --- a/bluejay/genfs_contexts +++ b/bluejay/genfs_contexts @@ -1,14 +1,3 @@ -# Haptics -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-0/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-1/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-2/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-3/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-5/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-7/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 -genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/i2c-cs40l26a u:object_r:sysfs_vibrator:s0 - # Storage genfscon sysfs /devices/platform/14700000.ufs/vendor u:object_r:sysfs_scsi_devices_0000:s0 genfscon sysfs /devices/platform/14700000.ufs/model u:object_r:sysfs_scsi_devices_0000:s0 -- cgit v1.2.3