Bug: 205073230 Bug: 207062542 Bug: 208527968 Test: no avc log for hal_usb_impl Change-Id: I840d8cb69ed9189f2697d13ae43b4bdeb25cd616
12 lines
431 B
Text
12 lines
431 B
Text
type hal_usb_impl, domain;
|
|
|
|
type hal_usb_impl_exec, vendor_file_type, exec_type, file_type;
|
|
init_daemon_domain(hal_usb_impl)
|
|
hal_server_domain(hal_usb_impl, hal_usb)
|
|
hal_server_domain(hal_usb_impl, hal_usb_gadget)
|
|
|
|
set_prop(hal_usb_impl, vendor_usb_config_prop)
|
|
allow hal_usb_impl functionfs:dir { watch watch_reads };
|
|
|
|
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
|
|
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
|