Merge "add sepolicy for dump TRICKLE/TEMP/DWELL defend config" into sc-dev
This commit is contained in:
commit
6978cd7220
2 changed files with 2 additions and 0 deletions
1
whitechapel/vendor/google/genfs_contexts
vendored
1
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -9,6 +9,7 @@ genfscon sysfs /wifi u:ob
|
|||
# Battery
|
||||
genfscon sysfs /devices/platform/google,battery/power_supply/battery u:object_r:sysfs_batteryinfo:s0
|
||||
genfscon sysfs /devices/platform/google,cpm/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
genfscon sysfs /devices/platform/google,charger u:object_r:sysfs_batteryinfo:s0
|
||||
|
||||
# Slider
|
||||
genfscon sysfs /devices/platform/10d50000.hsi2c/i2c-8/8-0050 u:object_r:sysfs_batteryinfo:s0
|
||||
|
|
|
@ -67,6 +67,7 @@ allow hal_dumpstate_default proc_f2fs:file r_file_perms;
|
|||
allow hal_dumpstate_default proc_touch:file rw_file_perms;
|
||||
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:dir search;
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:file r_file_perms;
|
||||
allow hal_dumpstate_default sysfs_chip_id:file r_file_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue