sm6225-common: sepolicy: Label extcon nodes

Change-Id: Idc944f15a83f4f1385efce16d7617b57e1dbf3b1
This commit is contained in:
Michael Bestas 2023-04-15 11:58:03 +03:00
parent b0083807a3
commit e57a75c253
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -1,6 +1,10 @@
# Camera
genfscon sysfs /devices/platform/cam_sync/video4linux/video1/name u:object_r:sysfs_graphics:s0
# Extcon
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/extcon u:object_r:sysfs_extcon:s0
genfscon sysfs /devices/platform/soc/soc:rt-pd-manager/extcon u:object_r:sysfs_extcon:s0
# Health
genfscon sysfs /devices/platform/soc/4a84000.i2c/i2c-1/1-003b/power_supply/charger u:object_r:vendor_sysfs_battery_supply:s0
genfscon sysfs /devices/platform/soc/4a80000.i2c/i2c-0/0-0064/power_supply/bms u:object_r:vendor_sysfs_battery_supply:s0