allow hal_usb_impl configfs:dir { create rmdir };

This is needed to allow USB HAL to create multi-config gadget
(ie. rndis + ncm).

Bug: 172793258
Test: built and booted on oriole
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ifb98b23138122ad4e0aeea8dd9c93d7b3e16d3aa
This commit is contained in:
Maciej Żenczykowski 2021-04-07 23:58:35 -07:00 committed by Maciej Zenczykowski
parent 9cfc661bee
commit 729e8901ab

View file

@ -5,6 +5,7 @@ hal_server_domain(hal_usb_impl, hal_usb_gadget)
type hal_usb_impl_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(hal_usb_impl)
allow hal_usb_impl configfs:dir { create rmdir };
allow hal_usb_impl functionfs:dir { watch watch_reads };
set_prop(hal_usb_impl, vendor_usb_config_prop)