From ffec0c64b4316cbaf467e9d7292d5726c405db05 Mon Sep 17 00:00:00 2001 From: jimmyshiu Date: Thu, 23 Jun 2022 07:33:47 +0000 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: 192617242 Bug: 208909174 Bug: 221384860 Test: adb shell dumpsys android.hardware.power.IPower/default Change-Id: Ice57c5cda51db150ec313337bb2385503f43529f --- tracking_denials/hal_power_default.te | 4 ---- 1 file changed, 4 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 731d4baa..00000000 --- a/tracking_denials/hal_power_default.te +++ /dev/null @@ -1,4 +0,0 @@ -# b/208909174 -dontaudit hal_power_default hal_power_default:capability { dac_read_search }; -# b/221384860 -dontaudit hal_power_default hal_power_default:capability { dac_override };