diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2023-02-03 14:47:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-02-03 14:47:47 +0000 |
commit | 5dbdb799e85a71bd39119c340b41596799d9e0ce (patch) | |
tree | ad60f38b3fced945bad70384aa2164eef8e7c863 | |
parent | ae39e117c1d2d796819839716b516f178746caa9 (diff) | |
parent | 9828cc747a31ce31f5c6c687356dc1a302a8f90a (diff) |
Merge "[ DO NOT MERGE ] usb: Add sepolicy for extcon access" into tm-qpr-dev
-rw-r--r-- | whitechapel/vendor/google/hal_usb_gadget_impl.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/whitechapel/vendor/google/hal_usb_gadget_impl.te b/whitechapel/vendor/google/hal_usb_gadget_impl.te index 7eb0f632..31216c98 100644 --- a/whitechapel/vendor/google/hal_usb_gadget_impl.te +++ b/whitechapel/vendor/google/hal_usb_gadget_impl.te @@ -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; |