Merge "Add udc sysfs to udc_sysfs fs context" into main
This commit is contained in:
commit
d4889afd78
2 changed files with 8 additions and 1 deletions
5
vendor/genfs_contexts
vendored
5
vendor/genfs_contexts
vendored
|
@ -499,3 +499,8 @@ genfscon sysfs /kernel/metrics/cpuidle_histogram/cpucluster_histogram u:obje
|
|||
|
||||
# Bluetooth
|
||||
genfscon sysfs /devices/platform/155d0000.serial/uart_dbg u:object_r:sysfs_bt_uart:s0
|
||||
|
||||
# USB
|
||||
starting_at_board_api(202504, `
|
||||
genfscon sysfs /devices/platform/11210000.usb/11210000.dwc3/udc/11210000.dwc3/state u:object_r:sysfs_udc:s0
|
||||
')
|
||||
|
|
4
vendor/hal_usb_impl.te
vendored
4
vendor/hal_usb_impl.te
vendored
|
@ -30,4 +30,6 @@ allow hal_usb_impl usb_device:dir r_dir_perms;
|
|||
# For monitoring usb sysfs attributes
|
||||
allow hal_usb_impl sysfs_wakeup:dir search;
|
||||
allow hal_usb_impl sysfs_wakeup:file r_file_perms;
|
||||
|
||||
starting_at_board_api(202504, `
|
||||
allow hal_usb_impl sysfs_udc:file r_file_perms;
|
||||
')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue