sm6150-common: sepolicy: Label extcon sysfs

Fix warnings like:
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.0/name. This probably means the selinux policies need to be changed.

Change-Id: I1859028d973246064f18efe47e95a7ff8eec657b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
ShevT 2022-12-07 12:13:54 -08:00 committed by donjohanliebert
parent e7dddf9520
commit 056cd35ca3

View File

@ -16,6 +16,9 @@ genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/idle_timeout_ms
# ds28e16 battery verify
genfscon sysfs /devices/platform/soc/soc:maxim_ds28e16/power_supply/batt_verify u:object_r:vendor_sysfs_battery_supply:s0
# Extcon
genfscon sysfs /devices/platform/vendor/vendor:extcon_usb1/extcon u:object_r:sysfs_extcon:s0
# Fingerprint
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/compatible_all u:object_r:vendor_sysfs_fingerprint:s0
genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/device_prepare u:object_r:vendor_sysfs_fingerprint:s0