Allow hal_usb_gadget_impl to access proc_irq am: d99789413d am: 98225a40ac am: 7fa97ff2ba

Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2086224

Change-Id: If1f7a07f1b2f0497fc6bf092ccdb30cac2ce36d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ray Chi 2022-05-04 08:58:50 +00:00 committed by Automerger Merge Worker
commit d3a233b1f0

View file

@ -12,3 +12,10 @@ set_prop(hal_usb_gadget_impl, vendor_usb_config_prop)
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 hal_usb_gadget_impl sysfs_extcon:dir search; allow hal_usb_gadget_impl sysfs_extcon:dir search;
# parser the number of dwc3 irq
allow hal_usb_gadget_impl proc_interrupts:file r_file_perms;
# change irq to other cores
allow hal_usb_gadget_impl proc_irq:dir r_dir_perms;
allow hal_usb_gadget_impl proc_irq:file w_file_perms;