Merge "Add hal_usb_impl permission"

This commit is contained in:
TreeHugger Robot 2022-02-17 16:42:12 +00:00 committed by Android (Google) Code Review
commit d95da03285

View file

@ -4,6 +4,8 @@ hal_server_domain(hal_usb_impl, hal_usb)
type hal_usb_impl_exec, vendor_file_type, exec_type, file_type; type hal_usb_impl_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(hal_usb_impl) init_daemon_domain(hal_usb_impl)
allow hal_usb_impl configfs:dir rw_dir_perms;
allow hal_usb_impl configfs:file create_file_perms;
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms; allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms; allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
allow hal_usb_impl sysfs_extcon:dir search; allow hal_usb_impl sysfs_extcon:dir search;