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:
parent
f23a4423c4
commit
f4589fecba
1 changed files with 1 additions and 0 deletions
1
whitechapel/vendor/google/hal_usb_impl.te
vendored
1
whitechapel/vendor/google/hal_usb_impl.te
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue