From 55d41f1a3e89b1f4d2525d9925e3319ef59e2705 Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Fri, 24 Jun 2022 09:30:58 +0800 Subject: [PATCH] Remove dontaudit since read early_wakeup completed The display file node, early_wakeup, just for trigger the worker for display and it doesn't have meaningful read function. But PowerHAL read all nodes and try to dump their valuesi while triggering bugreport. As the read operation has been completed, so we can remove the clause. 07-02 00:53:56.888 522 522 W android.hardwar: type=1400 audit(0.0:8): avc: denied { dac_read_search } for capability=2 scontext=u:r:hal_power_default:s0 tcontext=u:r:hal_power_default:s0 tclass=capability permissive=0 07-02 00:53:56.888 522 522 W android.hardwar: type=1400 audit(0.0:9): avc: denied { dac_override } for capability=1 scontext=u:r:hal_power_default:s0 tcontext=u:r:hal_power_default:s0 tclass=capability permissive=0 Bug: 221384860 Bug: 192617242 Bug: 171760921 Test: adb shell dumpsys android.hardware.power.IPower/default Change-Id: If0018499cc19f79819ef69794d7672d5a53de74e --- tracking_denials/hal_power_default.te | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 tracking_denials/hal_power_default.te diff --git a/tracking_denials/hal_power_default.te b/tracking_denials/hal_power_default.te deleted file mode 100644 index 47f5162e..00000000 --- a/tracking_denials/hal_power_default.te +++ /dev/null @@ -1,3 +0,0 @@ -# b/192617242 -dontaudit hal_power_default hal_power_default:capability dac_read_search; -dontaudit hal_power_default hal_power_default:capability dac_override;