mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
sculpt: provide empty usb default policy
This avoids service-denied errors of USB clients like VBox at integration time when client-specific policy exists yet. Issue #5174
This commit is contained in:
parent
22a731b671
commit
29960db32c
@ -86,6 +86,9 @@ struct Sculpt::Usb_driver : private Noncopyable
|
||||
config.for_each_sub_node("policy", [&] (Xml_node const &policy) {
|
||||
copy_node(xml, policy); });
|
||||
|
||||
/* wildcard for USB clients with no policy yet */
|
||||
xml.node("default-policy", [&] { });
|
||||
|
||||
_info.gen_usb_storage_policies(xml);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user