[ 351.298850] type=1400 audit(1614041245.976:13): avc: denied { read } for comm="android.hardwar" name="hf1_wfi" dev="sysfs" ino=78155 scontext=u:r:hal_power_stats_default:s0 tcontext=u:object_r:sysfs_aoc:s0 tclass=file permissive=1 [ 698.658433] type=1400 audit(1614041593.336:1733): avc: denied { open } for comm="stats@1.0-servi" path="/sys/devices/platform/19000000.aoc/control/monitor_mode" dev="sysfs" ino=78158 scontext=u:r:hal_power_stats_default:s0 tcontext=u:object_r:sysfs_aoc:s0 tclass=file permissive=1 02-23 08:53:13.336 673 673 I stats@1.0-servi: type=1400 audit(0.0:1734): avc: denied { getattr } for path="/sys/devices/platform/19000000.aoc/control/monitor_mode" dev="sysfs" ino=78158 scontext=u:r:hal_power_stats_default:s0 tcontext=u:object_r:sysfs_aoc:s0 tclass=file permissive=1 02-23 08:52:26.228 670 670 I android.hardwar: type=1400 audit(0.0:724): avc: denied { search } for name="19000000.aoc" dev="sysfs" ino=18343 scontext=u:r:hal_power_stats_default:s0 tcontext=u:object_r:sysfs_aoc:s0 tclass=dir permissive=1 Bug: 180963514 Test: Verify pass by checking device log are w/o above errors after Signed-off-by: Jack Wu <wjack@google.com> Change-Id: Iab245b320c1f6e75407f1fafb5ad20a087b1a707
12 lines
626 B
Text
12 lines
626 B
Text
# b/171760721
|
|
dontaudit hal_power_stats_default sysfs:file { read };
|
|
dontaudit hal_power_stats_default sysfs:file { getattr };
|
|
dontaudit hal_power_stats_default sysfs:file { read };
|
|
dontaudit hal_power_stats_default sysfs:file { getattr };
|
|
dontaudit hal_power_stats_default sysfs:file { open };
|
|
dontaudit hal_power_stats_default sysfs:file { getattr };
|
|
dontaudit hal_power_stats_default sysfs:dir { read };
|
|
dontaudit hal_power_stats_default sysfs:dir { open };
|
|
dontaudit hal_power_stats_default sysfs:file { read };
|
|
dontaudit hal_power_stats_default sysfs:file { open };
|
|
dontaudit hal_power_stats_default sysfs:file { open };
|