usb: Add sepolicy for extcon access

USB gadget hal will access extcon folder so that this patch
will add new rule to allow USB gadget hal to access extcon.

Bug: 185302867
Test: apply the rule and verify it
Change-Id: I0bc44dbf89a02c4fa5b561baf1c0c1c43d5183e9
This commit is contained in:
Ray Chi 2021-04-14 14:36:44 +08:00
parent f23a4423c4
commit f4589fecba

View file

@ -10,3 +10,4 @@ set_prop(hal_usb_impl, vendor_usb_config_prop)
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
allow hal_usb_impl sysfs_extcon:dir search;