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
This commit is contained in:
jimmyshiu 2022-06-23 07:33:47 +00:00 committed by Jimmy Shiu
parent d893b6e7f8
commit ffec0c64b4

View file

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