[ DO NOT MERGE ] 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: 263435622
Test: verified pass
Change-Id: I8c265919f7ae4b18aa304b0a584536d2a0f4b27a
(cherry picked from commit 9828cc747a
)
Merged-In: I8c265919f7ae4b18aa304b0a584536d2a0f4b27a
This commit is contained in:
parent
5eef469d2c
commit
beacc5b05f
1 changed files with 3 additions and 0 deletions
|
@ -19,3 +19,6 @@ 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;
|
||||
|
||||
# allow gadget hal to access extcon node
|
||||
allow hal_usb_gadget_impl sysfs_extcon:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue