sm6375-common: sepolicy: Allow health HAL to access battery data

07-09 12:35:52.867   935   935 W health@2.1-serv: type=1400 audit(0.0:262): avc: denied { read } for name=type dev=sysfs ino=66924 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Change-Id: Ifed1767cfe9f37899b1a1fe9d0e84025cf7b9bc7
This commit is contained in:
boedhack99
2023-07-09 13:51:54 +07:00
parent e014f66444
commit e8bc381d90

View File

@@ -1,2 +1,3 @@
allow hal_health_default sysfs_wakeup:dir r_dir_perms;
allow hal_health_default sysfs_wakeup:file r_file_perms;
allow hal_health_default sysfs:file { getattr open read };