Merge "Add udc sysfs to udc_sysfs fs context" into main
This commit is contained in:
3
whitechapel/vendor/google/genfs_contexts
vendored
3
whitechapel/vendor/google/genfs_contexts
vendored
@@ -352,3 +352,6 @@ genfscon sysfs /devices/platform/25f40000.etm u:object_r:sysfs_devices_cs_etm
|
||||
|
||||
# BootControl
|
||||
genfscon sysfs /kernel/boot_control/blow_ar u:object_r:sysfs_bootctl:s0
|
||||
|
||||
# USB
|
||||
genfscon sysfs /devices/platform/11110000.usb/11110000.dwc3/udc/11110000.dwc3/state u:object_r:sysfs_udc:s0
|
||||
|
||||
1
whitechapel/vendor/google/hal_usb_impl.te
vendored
1
whitechapel/vendor/google/hal_usb_impl.te
vendored
@@ -30,3 +30,4 @@ get_prop(hal_usb_impl, vendor_usb_config_prop);
|
||||
# For monitoring usb sysfs attributes
|
||||
allow hal_usb_impl sysfs_wakeup:dir search;
|
||||
allow hal_usb_impl sysfs_wakeup:file r_file_perms;
|
||||
allow hal_usb_impl sysfs_udc:file r_file_perms;
|
||||
|
||||
Reference in New Issue
Block a user