Add sepolicy for dual_batt_gauge power supply
08-23 02:45:54.456 860 860 I auditd : type=1400 audit(0.0:4): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=100372 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 Bug: 243491187 Test: reboot device and check the avc Signed-off-by: Wasb Liu <wasbliu@google.com> Change-Id: I7600c816e743fc91afaf66db00ba332229b21e28
This commit is contained in:
parent
1ef6c24de8
commit
2dcb7cc94f
1 changed files with 1 additions and 0 deletions
1
vendor/genfs_contexts
vendored
1
vendor/genfs_contexts
vendored
|
@ -1,6 +1,7 @@
|
|||
# BMS
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222 u:object_r:sysfs_wlc:s0
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
genfscon sysfs /devices/platform/google,dual_batt_gauge/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
# maxfg_base
|
||||
genfscon sysfs /devices/platform/10d60000.hsi2c/i2c-6/6-0036/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
# maxfg_flip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue