Files
android_device_google_lynx/vendor/hal_power_stats_default.te
Darren Hsu 4e2b651fdc sepolicy: allow hal_power_stats to read wifi sysfs and property
avc: denied { read } for name="power_stats" dev="sysfs"
ino=114517 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

avc: denied { read } for name="u:object_r:wifi_hal_prop:s0"
dev="tmpfs" ino=371 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:wifi_hal_prop:s0 tclass=file permissive=0

Bug: 240391946
Test: get bugreport and make sure no avc denials related to
Test: hal_power_stats
Change-Id: I3be32eb4e61926c3abd24c67e7dab9b4056bf00a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-28 15:48:41 +08:00

3 lines
80 B
Plaintext

# Needed to detect wifi on/off
get_prop(hal_power_stats_default, wifi_hal_prop)