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
This commit is contained in:
Jimmy Shiu 2022-06-24 09:30:58 +08:00 committed by Kyle Lin
parent 89b31263c0
commit 55d41f1a3e

View file

@ -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;