mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: sepolicy: Allow health HAL to read otg and muic-manager node
* also remove write access Change-Id: Ib89b2a0c4b8e31a12c1f5262d8fd172c1a947b47 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
f4e90239e8
commit
d3f562dea9
3 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,6 @@
|
|||
genfscon sysfs /devices/virtual/sec/tsp u:object_r:sysfs_sec_tsp:s0
|
||||
genfscon sysfs /devices/virtual/sec/switch u:object_r:sysfs_sec_switch: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/13840000.i2c/i2c-10/10-003d/s2mu004-charger/power_supply/otg u:object_r:sysfs_battery:s0
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-10/10-003d/s2mu004-muic/power_supply/muic-manager 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
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
allow hal_health sysfs_battery:file rw_file_perms;
|
||||
allow hal_health sysfs_battery:dir r_dir_perms;
|
||||
r_dir_file(hal_health, sysfs_battery)
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
allow healthd sysfs_battery:file rw_file_perms;
|
||||
allow healthd sysfs_battery:dir r_dir_perms;
|
||||
r_dir_file(healthd, sysfs_battery)
|
||||
|
|
|
|||
Loading…
Reference in a new issue