mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
[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: build pass Change-Id: I971732c6a40700a85df61170dcf1c3660307b96c
This commit is contained in:
committed by
TreeHugger Robot
parent
6e04b082f7
commit
03fb0f6ceb
@@ -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 hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_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;
|
||||
|
||||
Reference in New Issue
Block a user