[DO NOT MERGE] usb: Add sepolicy for extcon access am: 03fb0f6ceb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/20729301 Change-Id: Icf1e3a628c4a7e040efd639e16b4a631ea7349ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
2265901763
1 changed files with 4 additions and 0 deletions
|
@ -19,3 +19,7 @@ allow hal_usb_gadget_impl proc_irq:file w_file_perms;
|
||||||
# allow gadget hal to search hsi2c dir and write to usb_limit_accessory_enable/current
|
# allow gadget hal to search hsi2c dir and write to usb_limit_accessory_enable/current
|
||||||
allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms;
|
allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms;
|
||||||
allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;
|
allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;
|
||||||
|
|
||||||
|
# allow gadget hal to access extcon node
|
||||||
|
allow hal_usb_gadget_impl sysfs_extcon:dir search;
|
||||||
|
allow hal_usb_gadget_impl sysfs_extcon:file r_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue