From d1fe9f8f80193e8c006fbbec1727b638dadf3be6 Mon Sep 17 00:00:00 2001 From: Ken Yang Date: Tue, 14 May 2024 05:14:55 +0000 Subject: [PATCH 1/2] SELinux: fix avc denials Bug: 338332877 Change-Id: I5fb0a73cdc0d276ec14e55906c9bbd9c6875c786 Signed-off-by: Ken Yang --- whitechapel_pro/hal_health_default.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/hal_health_default.te b/whitechapel_pro/hal_health_default.te index 805b707d..8dc2b599 100644 --- a/whitechapel_pro/hal_health_default.te +++ b/whitechapel_pro/hal_health_default.te @@ -19,3 +19,4 @@ allow hal_health_default sysfs_thermal:dir search; allow hal_health_default sysfs_thermal:file w_file_perms; allow hal_health_default thermal_link_device:dir search; allow hal_health_default sysfs_wlc:file r_file_perms; +dontaudit hal_health_default sysfs_touch:dir *; From 9d3f39622cb16759c3f555cb6cf32ee323a4ed2c Mon Sep 17 00:00:00 2001 From: Chaitanya Cheemala Date: Tue, 14 May 2024 15:07:58 +0000 Subject: [PATCH 2/2] Revert "SELinux: fix avc denials" This reverts commit d1fe9f8f80193e8c006fbbec1727b638dadf3be6. Reason for revert: Likely culprit for b/340511525 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I65790202886298f9862d68d65cf794e67db5a878 --- whitechapel_pro/hal_health_default.te | 1 - 1 file changed, 1 deletion(-) diff --git a/whitechapel_pro/hal_health_default.te b/whitechapel_pro/hal_health_default.te index 8dc2b599..805b707d 100644 --- a/whitechapel_pro/hal_health_default.te +++ b/whitechapel_pro/hal_health_default.te @@ -19,4 +19,3 @@ allow hal_health_default sysfs_thermal:dir search; allow hal_health_default sysfs_thermal:file w_file_perms; allow hal_health_default thermal_link_device:dir search; allow hal_health_default sysfs_wlc:file r_file_perms; -dontaudit hal_health_default sysfs_touch:dir *;