diff options
author | Ray Chi <raychi@google.com> | 2021-04-23 15:06:23 +0800 |
---|---|---|
committer | Ray Chi <raychi@google.com> | 2021-04-23 15:06:23 +0800 |
commit | 502152fb628b3469608d59010cc0939e58cda9fc (patch) | |
tree | 2d2d15d833535134e54f7e17c15b2f40f9f5bbc3 /vendor | |
parent | 27e748e672f447a09966cf4c3d95a66c09945487 (diff) | |
download | sunfish-sepolicy-502152fb628b3469608d59010cc0939e58cda9fc.tar.gz |
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: I479a0ebdbd4993b0c6e05aebee5fc9dfda13bfb5
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/google/hal_usb_impl.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/google/hal_usb_impl.te b/vendor/google/hal_usb_impl.te index cd782c5..269d7da 100644 --- a/vendor/google/hal_usb_impl.te +++ b/vendor/google/hal_usb_impl.te @@ -10,3 +10,4 @@ allow hal_usb_impl sysfs_batteryinfo:dir search; allow hal_usb_impl sysfs_batteryinfo:file r_file_perms; allow hal_usb_impl sysfs_contaminant:file rw_file_perms; set_prop(hal_usb_impl, vendor_usb_prop) +allow hal_usb_impl sysfs_extcon:dir search; |