mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
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:
1
sepolicy/vendor/hal_health_default.te
vendored
1
sepolicy/vendor/hal_health_default.te
vendored
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user