From 729e8901ab919b944e531b5ca8dabdc2e894fee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Wed, 7 Apr 2021 23:58:35 -0700 Subject: [PATCH] allow hal_usb_impl configfs:dir { create rmdir }; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: Ifb98b23138122ad4e0aeea8dd9c93d7b3e16d3aa --- whitechapel/vendor/google/hal_usb_impl.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel/vendor/google/hal_usb_impl.te b/whitechapel/vendor/google/hal_usb_impl.te index 14abf59c..45ca9245 100644 --- a/whitechapel/vendor/google/hal_usb_impl.te +++ b/whitechapel/vendor/google/hal_usb_impl.te @@ -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)