Skip to content

Commit

Permalink
usb: If not sandboxed, assume all devices
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Figuière <[email protected]>
  • Loading branch information
hfiguiere committed Sep 13, 2024
1 parent 30b0d67 commit 761f0a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/xdp-app-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,12 @@ xdp_app_info_get_usb_queries (XdpAppInfo *app_info)
break;

case XDP_APP_INFO_KIND_HOST:
{
g_autoptr(XdpUsbQuery) query =
xdp_usb_query_from_string (XDP_USB_QUERY_TYPE_ALLOW, "all");
if (query)
g_ptr_array_add (usb_queries, g_steal_pointer (&query));
}
break;

default:
Expand Down

0 comments on commit 761f0a9

Please sign in to comment.