mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: sepolicy: Address health HAL denials
Change-Id: I7a5215175cdba42a8e9c422e138478733d172d26 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
62d8b28aa1
commit
d687ffe488
4 changed files with 7 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
type sysfs_battery, sysfs_type, fs_type;
|
||||
type sysfs_sec_tsp, fs_type, sysfs_type;
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
genfscon sysfs /devices/virtual/sec/tsp u:object_r:sysfs_sec_tsp:s0
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-10/10-003d/s2mu004-charger/power_supply/s2mu004-charger u:object_r:sysfs_battery:s0
|
||||
genfscon sysfs /devices/platform/13830000.i2c/i2c-9/9-003b/power_supply/s2mu004-fuelgauge u:object_r:sysfs_battery:s0
|
||||
|
|
|
|||
2
sepolicy/private/hal_health.te
Normal file
2
sepolicy/private/hal_health.te
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
allow hal_health sysfs_battery:file rw_file_perms;
|
||||
allow hal_health sysfs_battery:dir r_dir_perms;
|
||||
2
sepolicy/private/healthd.te
Normal file
2
sepolicy/private/healthd.te
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
allow healthd sysfs_battery:file rw_file_perms;
|
||||
allow healthd sysfs_battery:dir r_dir_perms;
|
||||
Loading…
Reference in a new issue